Mercurial > hg > octave-thorsten
diff src/DLD-FUNCTIONS/luinc.cc @ 11053:c33b7054f1f9
in recent Octave_map -> octave_scalar_map changes, use GETFIELD to access map elements, not CONTENTS
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Wed, 29 Sep 2010 12:57:43 -0400 |
parents | b0a9450d81c6 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/luinc.cc +++ b/src/DLD-FUNCTIONS/luinc.cc @@ -127,11 +127,11 @@ { octave_value tmp; - tmp = map.contents ("droptol"); + tmp = map.getfield ("droptol"); if (tmp.is_defined ()) droptol = tmp.double_value (); - tmp = map.contents ("milu"); + tmp = map.getfield ("milu"); if (tmp.is_defined ()) { double val = tmp.double_value (); @@ -139,7 +139,7 @@ milu = (val == 0. ? false : true); } - tmp = map.contents ("udiag"); + tmp = map.getfield ("udiag"); if (tmp.is_defined ()) { double val = tmp.double_value (); @@ -147,7 +147,7 @@ udiag = (val == 0. ? false : true); } - tmp = map.contents ("thresh"); + tmp = map.getfield ("thresh"); if (tmp.is_defined ()) { thresh = tmp.matrix_value ();