Mercurial > octave
diff libinterp/octave-value/ov-cx-mat.h @ 31138:b3ca7f891750
maint: use "m_" prefix for member variables in class octave_base_matrix.
* ov-base-int.cc, ov-base-mat.cc, ov-base-mat.h, ov-base.h, ov-bool-mat.cc,
ov-bool-mat.h, ov-cell.cc, ov-cell.h, ov-ch-mat.cc, ov-ch-mat.h, ov-cx-mat.cc,
ov-cx-mat.h, ov-flt-cx-mat.cc, ov-flt-cx-mat.h, ov-flt-re-mat.cc,
ov-flt-re-mat.h, ov-intx.h, ov-re-mat.cc, ov-re-mat.h, ov-str-mat.cc,
ov-str-mat.h:
use "m_" prefix for member variables in class octave_base_matrix.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 10 Jul 2022 18:26:24 -0700 |
parents | 796f54d4ddbf |
children | 597f3ee61a48 |
line wrap: on
line diff
--- a/libinterp/octave-value/ov-cx-mat.h Sun Jul 10 17:34:12 2022 +0200 +++ b/libinterp/octave-value/ov-cx-mat.h Sun Jul 10 18:26:24 2022 -0700 @@ -126,7 +126,7 @@ FloatComplexMatrix float_complex_matrix_value (bool = false) const; - ComplexNDArray complex_array_value (bool = false) const { return matrix; } + ComplexNDArray complex_array_value (bool = false) const { return m_matrix; } FloatComplexNDArray float_complex_array_value (bool = false) const; @@ -145,11 +145,11 @@ octave_value diag (octave_idx_type m, octave_idx_type n) const; - void increment (void) { matrix += Complex (1.0); } + void increment (void) { m_matrix += Complex (1.0); } - void decrement (void) { matrix -= Complex (1.0); } + void decrement (void) { m_matrix -= Complex (1.0); } - void changesign (void) { matrix.changesign (); } + void changesign (void) { m_matrix.changesign (); } bool save_ascii (std::ostream& os);