diff --git a/ChangeLog b/ChangeLog index d2c4732..8a41c81 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,12 @@ * rational/transcendental/cl_RA_logp.cc: fix bug where base is reciprocal of an integer. +2004-06-18 Ralf Wildenhues + + * src/complex/ring/cl_C_ring.cc, src/integer/ring/cl_I_ring.cc, + src/rational/ring/cl_RA_ring.cc, src/real/ring/cl_R_ring.cc: + Make template specializations explicit. + 2004-06-17 Ralf Wildenhues * benchmarks/timebench1.cc, benchmarks/timebench2a.LiDIA.cc, diff --git a/src/complex/ring/cl_C_ring.cc b/src/complex/ring/cl_C_ring.cc index aa01740..5a576ec 100644 --- a/src/complex/ring/cl_C_ring.cc +++ b/src/complex/ring/cl_C_ring.cc @@ -153,6 +153,7 @@ cl_class cl_class_complex_ring = { }; // Constructor. +template <> inline cl_complex_ring::cl_specialized_number_ring () : cl_number_ring (new cl_heap_complex_ring()) {} diff --git a/src/integer/ring/cl_I_ring.cc b/src/integer/ring/cl_I_ring.cc index 5629e1f..0f4e6d7 100644 --- a/src/integer/ring/cl_I_ring.cc +++ b/src/integer/ring/cl_I_ring.cc @@ -150,6 +150,7 @@ cl_class cl_class_integer_ring = { }; // Constructor. +template <> inline cl_integer_ring::cl_specialized_number_ring () : cl_number_ring (new cl_heap_integer_ring()) {} diff --git a/src/rational/ring/cl_RA_ring.cc b/src/rational/ring/cl_RA_ring.cc index f1a4125..a6aef66 100644 --- a/src/rational/ring/cl_RA_ring.cc +++ b/src/rational/ring/cl_RA_ring.cc @@ -150,6 +150,7 @@ cl_class cl_class_rational_ring = { }; // Constructor. +template <> inline cl_rational_ring::cl_specialized_number_ring () : cl_number_ring (new cl_heap_rational_ring()) {} diff --git a/src/real/ring/cl_R_ring.cc b/src/real/ring/cl_R_ring.cc index 12bad45..f7330ce 100644 --- a/src/real/ring/cl_R_ring.cc +++ b/src/real/ring/cl_R_ring.cc @@ -154,6 +154,7 @@ cl_class cl_class_real_ring = { }; // Constructor. +template <> inline cl_real_ring::cl_specialized_number_ring () : cl_number_ring (new cl_heap_real_ring()) {}