0024893: CLang warnings -Wlogical-not-parentheses for gce_Done comparisons
[occt.git] / src / gce / gce_MakeElips.cxx
index c79f572..9916e21 100644 (file)
@@ -63,7 +63,7 @@ gce_MakeElips::gce_MakeElips(const gp_Pnt&   S1     ,
 
 const gp_Elips& gce_MakeElips::Value() const
 { 
-  StdFail_NotDone_Raise_if(!TheError == gce_Done,"");
+  StdFail_NotDone_Raise_if(TheError != gce_Done,"");
   return TheElips;
 }