blob: 58f9491c12a0c69b0eeb316eafff5c44bec7c127 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
Modfiy new.h to accomodate Singular.
--- src.orig/include/NTL/new.h 2012-08-06 17:12:25.658913083 +0200
+++ src/include/NTL/new.h 2012-08-06 17:11:15.002915713 +0200
@@ -12,7 +12,8 @@
#include <NTL/config.h>
#include <new>
-#define NTL_NEW_OP new (std::nothrow)
+// commenting std::nothrow makes this ntl work properly with Singular
+#define NTL_NEW_OP new //(std::nothrow)
#endif
|