diff options
author | Norbert Preining <norbert@preining.info> | 2021-03-16 03:01:13 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2021-03-16 03:01:13 +0000 |
commit | 4947a16af6c8e33f697a8da222db7f3ad027ba94 (patch) | |
tree | 3eee9fd60fecc17e213ff42c404f538ae850f934 /graphics/asymptote/mathop.h | |
parent | 36607734949d1736c36ed7b9f3a12a74d7a8ce86 (diff) |
CTAN sync 202103160301
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) |