Skip to content

Commit 68acbb9

Browse files
committed
Correct an off-by-0.5 error
1 parent 8977e4c commit 68acbb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/core/ellipsoid.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ ellipsoid::degenerate()
8989
double
9090
ellipsoid::get_max_dimension()
9191
{
92-
return std::max(axis.mag(), std::max(width, height));
92+
return 0.5*std::max(axis.mag(), std::max(width, height));
9393
}
9494

9595
void

0 commit comments

Comments
 (0)