diff options
Diffstat (limited to 'math/GiNaC/files/patch-ginac::numeric.cpp')
-rw-r--r-- | math/GiNaC/files/patch-ginac::numeric.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/math/GiNaC/files/patch-ginac::numeric.cpp b/math/GiNaC/files/patch-ginac::numeric.cpp new file mode 100644 index 000000000000..817362cd1477 --- /dev/null +++ b/math/GiNaC/files/patch-ginac::numeric.cpp @@ -0,0 +1,11 @@ +--- ginac/numeric.cpp.orig Mon Nov 26 20:59:49 2001 ++++ ginac/numeric.cpp Mon Nov 26 21:00:12 2001 +@@ -249,7 +249,7 @@ + // Read number as string + std::string str; + if (n.find_string("number", str)) { +- std::istringstream s(str); ++ std::istringstream s(str.c_str()); + cln::cl_idecoded_float re, im; + char c; + s.get(c); |