Mercurial > forge
changeset 3935:283f38d1e7eb octave-forge
remove strip_nan_and_inf arg from save_ascii functions (For John Eaton)
author | adb014 |
---|---|
date | Mon, 08 Oct 2007 12:18:42 +0000 |
parents | ede08612d10e |
children | 4eaf12f61a04 |
files | main/comm/src/ov-galois.cc main/comm/src/ov-galois.h main/fixed/src/ov-fixed-complex.cc main/fixed/src/ov-fixed-complex.h main/fixed/src/ov-fixed-cx-mat.cc main/fixed/src/ov-fixed-cx-mat.h main/fixed/src/ov-fixed-mat.cc main/fixed/src/ov-fixed-mat.h main/fixed/src/ov-fixed.cc main/fixed/src/ov-fixed.h |
diffstat | 10 files changed, 10 insertions(+), 21 deletions(-) [+] |
line wrap: on
line diff
--- a/main/comm/src/ov-galois.cc Mon Oct 08 10:57:04 2007 +0000 +++ b/main/comm/src/ov-galois.cc Mon Oct 08 12:18:42 2007 +0000 @@ -396,8 +396,7 @@ } bool -octave_galois::save_ascii (std::ostream& os, bool& infnan_warned, - bool strip_nan_and_inf) +octave_galois::save_ascii (std::ostream& os) { dim_vector d = dims (); Matrix tmp = matrix_value ();
--- a/main/comm/src/ov-galois.h Mon Oct 08 10:57:04 2007 +0000 +++ b/main/comm/src/ov-galois.h Mon Oct 08 12:18:42 2007 +0000 @@ -137,8 +137,7 @@ int m (void) const { return gval.m(); } int primpoly (void) const { return gval.primpoly(); } - bool save_ascii (std::ostream& os, bool& infnan_warned, - bool strip_nan_and_inf); + bool save_ascii (std::ostream& os); bool load_ascii (std::istream& is);
--- a/main/fixed/src/ov-fixed-complex.cc Mon Oct 08 10:57:04 2007 +0000 +++ b/main/fixed/src/ov-fixed-complex.cc Mon Oct 08 12:18:42 2007 +0000 @@ -270,8 +270,7 @@ } bool -octave_fixed_complex::save_ascii (std::ostream& os, bool& infnan_warned, - bool strip_nan_and_inf) +octave_fixed_complex::save_ascii (std::ostream& os) { os << scalar.real ().getintsize () << " " << scalar.imag ().getintsize () << " "
--- a/main/fixed/src/ov-fixed-complex.h Mon Oct 08 10:57:04 2007 +0000 +++ b/main/fixed/src/ov-fixed-complex.h Mon Oct 08 12:18:42 2007 +0000 @@ -151,8 +151,7 @@ void print_raw (std::ostream& os, bool pr_as_read_syntax = false) const; - bool save_ascii (std::ostream& os, bool& infnan_warned, - bool strip_nan_and_inf); + bool save_ascii (std::ostream& os); bool load_ascii (std::istream& is);
--- a/main/fixed/src/ov-fixed-cx-mat.cc Mon Oct 08 10:57:04 2007 +0000 +++ b/main/fixed/src/ov-fixed-cx-mat.cc Mon Oct 08 12:18:42 2007 +0000 @@ -429,9 +429,7 @@ } bool -octave_fixed_complex_matrix::save_ascii (std::ostream& os, - bool& infnan_warned, - bool strip_nan_and_inf) +octave_fixed_complex_matrix::save_ascii (std::ostream& os) { dim_vector d = dims (); os << "# ndims: " << d.length () << "\n";
--- a/main/fixed/src/ov-fixed-cx-mat.h Mon Oct 08 10:57:04 2007 +0000 +++ b/main/fixed/src/ov-fixed-cx-mat.h Mon Oct 08 12:18:42 2007 +0000 @@ -130,8 +130,7 @@ void decrement (void) { matrix -= FixedPoint(1,0,1,0); } - bool save_ascii (std::ostream& os, bool& infnan_warned, - bool strip_nan_and_inf); + bool save_ascii (std::ostream& os); bool load_ascii (std::istream& is);
--- a/main/fixed/src/ov-fixed-mat.cc Mon Oct 08 10:57:04 2007 +0000 +++ b/main/fixed/src/ov-fixed-mat.cc Mon Oct 08 12:18:42 2007 +0000 @@ -418,8 +418,7 @@ } bool -octave_fixed_matrix::save_ascii (std::ostream& os, bool& infnan_warned, - bool strip_nan_and_inf) +octave_fixed_matrix::save_ascii (std::ostream& os) { dim_vector d = dims (); os << "# ndims: " << d.length () << "\n";
--- a/main/fixed/src/ov-fixed-mat.h Mon Oct 08 10:57:04 2007 +0000 +++ b/main/fixed/src/ov-fixed-mat.h Mon Oct 08 12:18:42 2007 +0000 @@ -131,8 +131,7 @@ octave_value convert_to_str (bool pad = false) const; - bool save_ascii (std::ostream& os, bool& infnan_warned, - bool strip_nan_and_inf); + bool save_ascii (std::ostream& os); bool load_ascii (std::istream& is);
--- a/main/fixed/src/ov-fixed.cc Mon Oct 08 10:57:04 2007 +0000 +++ b/main/fixed/src/ov-fixed.cc Mon Oct 08 12:18:42 2007 +0000 @@ -234,8 +234,7 @@ } bool -octave_fixed::save_ascii (std::ostream& os, bool& infnan_warned, - bool strip_nan_and_inf) +octave_fixed::save_ascii (std::ostream& os) { os << scalar.getintsize () << " " << scalar.getdecsize () << " "
--- a/main/fixed/src/ov-fixed.h Mon Oct 08 10:57:04 2007 +0000 +++ b/main/fixed/src/ov-fixed.h Mon Oct 08 12:18:42 2007 +0000 @@ -138,8 +138,7 @@ void print_raw (std::ostream& os, bool pr_as_read_syntax = false) const; - bool save_ascii (std::ostream& os, bool& infnan_warned, - bool strip_nan_and_inf); + bool save_ascii (std::ostream& os); bool load_ascii (std::istream& is);