From 9c4e4b12bb77c5d7e84869db5242e3eab317d988 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Mon, 27 Apr 2009 17:20:53 -0500 Subject: [PATCH] fix syntax error without GMP --- H/arith2.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/H/arith2.h b/H/arith2.h index fe2ccb849..f43238eed 100644 --- a/H/arith2.h +++ b/H/arith2.h @@ -138,14 +138,9 @@ sl_overflow(Int x,Int i) inline static Term do_sll(Int i, Int j) { - if (sl_overflow(i,j)) { #ifdef USE_GMP + if (sl_overflow(i,j)) { return Yap_gmp_sll_ints(i, j); -#else - Yap_Error(EVALUATION_ERROR_INT_OVERFLOW, t1, - "rem/2 with %d and %d", i1, i2); - P = (yamop *)FAILCODE; - RERROR(); #endif } RINT(i << j);