Skip to content

Commit

Permalink
Remove isfinite() check
Browse files Browse the repository at this point in the history
  • Loading branch information
t-sommer committed Oct 7, 2024
1 parent 060ddfa commit 12ec364
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/cosimulation.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,10 +201,6 @@ static bool fmiMax(double a, double b) {

bool isClose(double a, double b) {

if (!isfinite(a) || !isfinite(b)) {
return false;
}

if (fmiAbs(a - b) <= EPSILON) {
return true;
}
Expand Down

0 comments on commit 12ec364

Please sign in to comment.