]> www.ginac.de Git - cln.git/blobdiff - include/cln/dfloat_class.h
Replace CL_REQUIRE/CL_PROVIDE(cl_prin_globals) with portable code.
[cln.git] / include / cln / dfloat_class.h
index 515fb3730d58aead73604d05cb882e809888c1c1..c189f3905ca150f41347aa9f5168d644cc91b4a2 100644 (file)
@@ -15,8 +15,8 @@ public:
 // Assignment operators.
        cl_DF& operator= (const cl_DF&);
 // Optimization of method pointer_p().
-       cl_boolean pointer_p() const
-               { return cl_true; }
+       bool pointer_p() const
+               { return true; }
 // Faster pointer_p() gives a faster copy constructor (but not destructor!!!).
        cl_DF (const cl_DF& x);
 // Constructors and assignment operators from C numeric types.