Mercurial > hg > octave-lyh
diff liboctave/NPSOL.h @ 1873:dc859604b19b
[project @ 1996-02-04 13:07:46 by jwe]
author | jwe |
---|---|
date | Sun, 04 Feb 1996 13:12:50 +0000 |
parents | b6c48195b552 |
children | 7fc99ae70891 |
line wrap: on
line diff
--- a/liboctave/NPSOL.h +++ b/liboctave/NPSOL.h @@ -42,12 +42,12 @@ NPSOL_options (void) { init (); } - NPSOL_options (const NPSOL_options& opt) { copy (opt); } + NPSOL_options (const NPSOL_options& opt) { set_options (opt); } NPSOL_options& operator = (const NPSOL_options& opt) { if (this != &opt) - copy (opt); + set_options (opt); return *this; } @@ -56,9 +56,9 @@ void init (void); - void copy (const NPSOL_options& opt); + void set_default_options (void) { init (); } - void set_default_options (void) { init (); } + void set_options (const NPSOL_options& opt); // XXX FIXME XXX -- is this a good idea?