diff --git a/ChangeLog b/ChangeLog index bd5292c..6d40705 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-11 Richard B. Kreckel + + * include/cln/float.h (cos_sin_t, cosh_sinh_t): Add default ctor. + 2008-01-11 Richard B. Kreckel Make some functions more memory efficient: diff --git a/include/cln/float.h b/include/cln/float.h index 2f0a58c..6bfd2bb 100644 --- a/include/cln/float.h +++ b/include/cln/float.h @@ -616,6 +616,7 @@ struct cos_sin_t { cl_R cos; cl_R sin; // Constructor: + cos_sin_t () {} cos_sin_t (const cl_R& u, const cl_R& v) : cos (u), sin (v) {} }; @@ -659,6 +660,7 @@ struct cosh_sinh_t { cl_R cosh; cl_R sinh; // Constructor: + cosh_sinh_t () {} cosh_sinh_t (const cl_R& u, const cl_R& v) : cosh (u), sinh (v) {} };