Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Commit

Permalink
Fix deprecation warning with latest dmd
Browse files Browse the repository at this point in the history
  • Loading branch information
moon-chilled committed Jan 15, 2020
1 parent b05f0b0 commit ec357e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions math/gfm/math/funcs.d
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ in
{
assert(b > 0);
}
body
do
{
if (a >= 0)
a = a % b;
Expand Down Expand Up @@ -487,4 +487,4 @@ unittest
{
assert(abs( inverseSqrt!float(1) - 1) < 1e-3 );
assert(abs( inverseSqrt!double(1) - 1) < 1e-3 );
}
}

0 comments on commit ec357e1

Please sign in to comment.