X-Git-Url: https://ginac.de/CLN/cln.git//cln.git?a=blobdiff_plain;f=include%2Fcln%2FSV_rational.h;h=8774dee3369ff9d55c9f04bacc00ce6116fbbc6c;hb=f3b29e52ea5a7b013f8294065920365e5d17d18f;hp=860a414846a8f4ecca387320b570a81ec96e84aa;hpb=850abfde7f0d985ba01526c346bcd0d733562943;p=cln.git diff --git a/include/cln/SV_rational.h b/include/cln/SV_rational.h index 860a414..8774dee 100644 --- a/include/cln/SV_rational.h +++ b/include/cln/SV_rational.h @@ -36,14 +36,14 @@ inline const cl_SV_RA copy (const cl_SV_RA& vector) } // Output. -inline void fprint (cl_ostream stream, const cl_SV_RA& x) +inline void fprint (std::ostream& stream, const cl_SV_RA& x) { extern cl_print_flags default_print_flags; - extern void print_vector (cl_ostream stream, const cl_print_flags& flags, void (* fun) (cl_ostream, const cl_print_flags&, const cl_number&), const cl_SV_number& vector); - extern void print_rational (cl_ostream stream, const cl_print_flags& flags, const cl_RA& z); + extern void print_vector (std::ostream& stream, const cl_print_flags& flags, void (* fun) (std::ostream&, const cl_print_flags&, const cl_number&), const cl_SV_number& vector); + extern void print_rational (std::ostream& stream, const cl_print_flags& flags, const cl_RA& z); print_vector(stream, default_print_flags, - (void (*) (cl_ostream, const cl_print_flags&, const cl_number&)) - (void (*) (cl_ostream, const cl_print_flags&, const cl_RA&)) + (void (*) (std::ostream&, const cl_print_flags&, const cl_number&)) + (void (*) (std::ostream&, const cl_print_flags&, const cl_RA&)) &print_rational, x); }