read labels as signed char

This commit is contained in:
James E McClure
2019-03-28 15:46:52 -04:00
parent c0b3b04172
commit e712090f72

View File

@@ -163,7 +163,7 @@ void ScaLBL_ColorModel::AssignComponentLabels(double *phase)
char VALUE=0;
double AFFINITY=0.f;
auto LabelList = color_db->getVector<char>( "ComponentLabels" );
auto LabelList = color_db->getVector<signed char>( "ComponentLabels" );
auto AffinityList = color_db->getVector<double>( "ComponentAffinity" );
NLABELS=LabelList.size();