Skip to content

Commit

Permalink
[paving] corrected bug in SIVIA paving
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonRohou committed Jun 28, 2023
1 parent 2912ab5 commit a645ab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/paving/codac_SIVIAPaving.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ namespace codac
}
}

void SIVIAPaving::compute(Ctc &ctc, float precision)
void SIVIAPaving::compute(Ctc& ctc, float precision)
{
assert(precision > 0.);
assert(ctc.nb_var == box().size());
Expand All @@ -58,7 +58,7 @@ namespace codac
if(result.is_empty())
set_value(SetValue::OUT);

else if(result.max_diam() < precision)
else if(box().max_diam() < precision)
set_value(SetValue::UNKNOWN);

else
Expand Down

0 comments on commit a645ab5

Please sign in to comment.