]> www.ginac.de Git - cln.git/blobdiff - src/real/transcendental/cl_R_tan.cc
Cater to the fact that g++ 4.3 will use a different naming for
[cln.git] / src / real / transcendental / cl_R_tan.cc
index d1552177ca4b1877b6ecc893ae328a2bf882a10e..14faf894a3ecf1e6c661aaca58fc7f03fa6ba12b 100644 (file)
@@ -4,16 +4,20 @@
 #include "cl_sysdep.h"
 
 // Specification.
-#include "cl_real.h"
+#include "cln/real.h"
 
 
 // Implementation.
 
+namespace cln {
+
 MAYBE_INLINE
 const cl_R tan (const cl_R& x)
 {
 // Methode:
 // (/ (sin x) (cos x))
-       var cl_cos_sin_t trig = cl_cos_sin(x);
+       var cos_sin_t trig = cos_sin(x);
        return trig.sin / trig.cos;
 }
+
+}  // namespace cln