Fixed MSVC warning/error regarding use of bool in expression

This commit is contained in:
barry 2018-11-06 12:38:57 -08:00
parent cd3faaf33c
commit ff9d936ee8

View File

@ -626,7 +626,7 @@ PatchBuilder::IsPatchRegular(int levelIndex, Index faceIndex, int fvc) const {
// closer inspection of the single irregular feature:
//
bool mayHaveIrregFaces = (_schemeRegFaceSize == 4);
bool needsExtraIsoLevel = fCompVTag._xordinary && mayHaveIrregFaces;
int needsExtraIsoLevel = fCompVTag._xordinary && mayHaveIrregFaces;
bool featureIsIsolated = levelIndex > needsExtraIsoLevel;
if (featureIsIsolated) {