diff options
Diffstat (limited to 'Build/source/utils/asymptote/mathop.h')
-rw-r--r-- | Build/source/utils/asymptote/mathop.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Build/source/utils/asymptote/mathop.h b/Build/source/utils/asymptote/mathop.h index cdacdf938f9..69c031c26af 100644 --- a/Build/source/utils/asymptote/mathop.h +++ b/Build/source/utils/asymptote/mathop.h @@ -238,9 +238,9 @@ struct power<Int> { } }; -template <typename> +template <typename T> struct mod { - Int operator() (Int x, Int y, size_t i=0) { + T operator() (T x, T y, size_t i=0) { if(y == 0) dividebyzero(i); return portableMod(x,y); } |