This commit is contained in:
Abdullah Tahiri
2019-02-15 17:25:54 +01:00
committed by wmayer
parent 4ff8995167
commit 88228d6d25

View File

@@ -3071,7 +3071,7 @@ bool Sketch::updateNonDrivingConstraints()
(*it).constr->setValue(std::remainder(*((*it).value), 2.0*M_PI));
}
else if((*it).constr->Type==Diameter && (*it).constr->First>0 ) {
else if((*it).constr->Type==Diameter && (*it).constr->First>=0 ) {
(*it).constr->setValue(2.0**((*it).value));
}