lien 242 added cast to ScalarType on "2.0" to avoid warning in case of float usage
This commit is contained in:
parent
61d4d72c4c
commit
046558798a
|
@ -239,7 +239,7 @@ public:
|
||||||
ScalarType QbAfter = QualityFunc(v0, v3, v2);
|
ScalarType QbAfter = QualityFunc(v0, v3, v2);
|
||||||
|
|
||||||
// < 0 if the average quality of faces improves after flip
|
// < 0 if the average quality of faces improves after flip
|
||||||
_priority = (Qa + Qb - QaAfter - QbAfter) / 2.0;
|
_priority = (Qa + Qb - QaAfter - QbAfter) / (ScalarType)2.0;
|
||||||
|
|
||||||
return _priority;
|
return _priority;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue