From 962a167b47c756955a8745d5f4c7115469d9fcfa Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Fri, 11 Jan 2008 22:01:42 +0000 Subject: [PATCH] * include/cln/float.h (cos_sin_t, cosh_sinh_t): Add default ctor. --- ChangeLog | 4 ++++ include/cln/float.h | 2 ++ 2 files changed, 6 insertions(+) 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) {} };