Mercurial > octave-nkf
diff liboctave/NLEqn.h @ 5275:23b37da9fd5b
[project @ 2005-04-08 16:07:35 by jwe]
author | jwe |
---|---|
date | Fri, 08 Apr 2005 16:07:37 +0000 |
parents | e35b034d3523 |
children | 4c8a2e4e0717 |
line wrap: on
line diff
--- a/liboctave/NLEqn.h Thu Apr 07 21:51:37 2005 +0000 +++ b/liboctave/NLEqn.h Fri Apr 08 16:07:37 2005 +0000 @@ -62,30 +62,30 @@ ColumnVector states (void) const { return x; } - int size (void) const { return x.capacity (); } + octave_idx_type size (void) const { return x.capacity (); } ColumnVector solve (void) { - int info; + octave_idx_type info; return solve (info); } ColumnVector solve (const ColumnVector& xvec) { set_states (xvec); - int info; + octave_idx_type info; return solve (info); } - ColumnVector solve (const ColumnVector& xvec, int& info) + ColumnVector solve (const ColumnVector& xvec, octave_idx_type& info) { set_states (xvec); return solve (info); } - ColumnVector solve (int& info); + ColumnVector solve (octave_idx_type& info); - int solution_state (void) const { return solution_status; } + octave_idx_type solution_state (void) const { return solution_status; } bool solution_ok (void) const { return solution_status == 1; } @@ -94,7 +94,7 @@ private: ColumnVector x; - int solution_status; + octave_idx_type solution_status; void error (const char* msg); };