Skip to content

Commit

Permalink
delete rounding of pi
Browse files Browse the repository at this point in the history
  • Loading branch information
johnprif committed Jan 30, 2023
1 parent d274e58 commit 74b0b62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Algorithm1.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public void computeSmallestEnclosingCircle()
{
boolean finish;
double maxAngle;
double myPi2 = Math.round(Math.PI/2*1000.0)/1000.0;
double myPi2 = Math.PI/2;

if(dataBase.getCirclePointsSize() != 1)
{
Expand Down

0 comments on commit 74b0b62

Please sign in to comment.