Mercurial > hg > octave-lyh
changeset 3487:8a72d9e400da
[project @ 2000-01-28 06:24:06 by jwe]
author | jwe |
---|---|
date | Fri, 28 Jan 2000 06:24:07 +0000 |
parents | 9493fe321888 |
children | 85c0ebb78d1e |
files | liboctave/DASSL.cc liboctave/DASSL.h |
diffstat | 2 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/DASSL.cc +++ b/liboctave/DASSL.cc @@ -397,23 +397,23 @@ double next_out; while (i_out < n_out) { - int do_restart = 0; + bool do_restart = false; next_out = tout.elem (i_out); if (i_crit < n_crit) next_crit = tcrit.elem (i_crit); - int save_output; + bool save_output; double t_out; if (next_crit == next_out) { set_stop_time (next_crit); t_out = next_out; - save_output = 1; + save_output = true; i_out++; i_crit++; - do_restart = 1; + do_restart = true; } else if (next_crit < next_out) { @@ -421,15 +421,15 @@ { set_stop_time (next_crit); t_out = next_crit; - save_output = 0; + save_output = false; i_crit++; - do_restart = 1; + do_restart = true; } else { clear_stop_time (); t_out = next_out; - save_output = 1; + save_output = true; i_out++; } } @@ -437,7 +437,7 @@ { set_stop_time (next_crit); t_out = next_out; - save_output = 1; + save_output = true; i_out++; }