Skip to content

Commit

Permalink
Fix a build break that only affects MSVC compiler
Browse files Browse the repository at this point in the history
  • Loading branch information
jaccz authored Feb 16, 2022
1 parent 18945b3 commit 88a9eb6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/gcdmodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,8 @@ void CResult::PrintStatistics()
//
bool CGcdData::fixModelAndSubmodelOrder()
{
if( _modelData.Order < 1 and _modelData.Order != UNDEFINED_ORDER )
if( _modelData.Order < 1
&& _modelData.Order != UNDEFINED_ORDER )
{
PrintMessage( InputDataError, L"Order cannot be smaller than 1" );
return( false );
Expand Down

0 comments on commit 88a9eb6

Please sign in to comment.