blob: 93d910dbbd051a89e174627f2b11fd97709891d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
diff -Naur ginac-1.4.1/ginac/numeric.cpp ginac-1.4.1.new/ginac/numeric.cpp
--- ginac-1.4.1/ginac/numeric.cpp 2007-09-07 06:53:54.000000000 -0400
+++ ginac-1.4.1.new/ginac/numeric.cpp 2008-04-01 08:51:29.000000000 -0400
@@ -408,7 +408,7 @@
* @sa http://www.ginac.de/pipermail/cln-list/2006-October/000248.html
*/
template<>
-static inline bool coerce<int, cln::cl_I>(int& dst, const cln::cl_I& arg)
+inline bool coerce<int, cln::cl_I>(int& dst, const cln::cl_I& arg)
{
static const cln::cl_I cl_max_int =
(cln::cl_I)(long)(std::numeric_limits<int>::max());
@@ -422,7 +422,7 @@
}
template<>
-static inline bool coerce<unsigned int, cln::cl_I>(unsigned int& dst, const cln::cl_I& arg)
+inline bool coerce<unsigned int, cln::cl_I>(unsigned int& dst, const cln::cl_I& arg)
{
static const cln::cl_I cl_max_uint =
(cln::cl_I)(unsigned long)(std::numeric_limits<unsigned int>::max());
|