diff options
Diffstat (limited to 'graphics/asymptote/mathop.h')
-rw-r--r-- | graphics/asymptote/mathop.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/asymptote/mathop.h b/graphics/asymptote/mathop.h index 3c5da5b73c..785f30d036 100644 --- a/graphics/asymptote/mathop.h +++ b/graphics/asymptote/mathop.h @@ -104,7 +104,7 @@ struct divide<camp::triple> { }; inline bool validInt(double x) { - return x > Int_MIN-0.5 && x < Int_MAX+0.5; + return x > (double) Int_MIN-0.5 && x < (double) Int_MAX+0.5; } inline void checkInt(double x, size_t i) |