Browse Source

* include/cln/float.h (cos_sin_t, cosh_sinh_t): Add default ctor.

master
Richard Kreckel 17 years ago
parent
commit
962a167b47
  1. 4
      ChangeLog
  2. 2
      include/cln/float.h

4
ChangeLog

@ -1,3 +1,7 @@
2008-01-11 Richard B. Kreckel <kreckel@ginac.de>
* include/cln/float.h (cos_sin_t, cosh_sinh_t): Add default ctor.
2008-01-11 Richard B. Kreckel <kreckel@ginac.de>
Make some functions more memory efficient:

2
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) {}
};

Loading…
Cancel
Save