mirror of https://github.com/CGAL/cgal
more verbose
This commit is contained in:
parent
c5b5a54952
commit
adfcc7d102
|
|
@ -114,7 +114,7 @@ struct Lambda<Curve<FilteredTraits,true>>
|
|||
bool update_exact() const
|
||||
{
|
||||
if (is_exact){
|
||||
if (! exact){
|
||||
if (!exact.has_value()){
|
||||
exact = (is_one) ? std::make_optional(Exact(1)) : std::make_optional(Exact(0));
|
||||
}
|
||||
return true;
|
||||
|
|
@ -211,7 +211,7 @@ struct Lambda<Curve<FilteredTraits,true>>
|
|||
}
|
||||
update_exact();
|
||||
other.update_exact();
|
||||
bool eres = *exact < *other.exact;
|
||||
bool eres = exact.value() < other.exact.value();
|
||||
return eres;
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue