diff src/DLD-FUNCTIONS/amd.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 14993c9e857e
children fd0a3ac60b0e
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/amd.cc	Wed Sep 29 04:25:57 2010 -0400
+++ b/src/DLD-FUNCTIONS/amd.cc	Wed Sep 29 12:57:43 2010 -0400
@@ -144,11 +144,11 @@
                 {
                   octave_value tmp;
 
-                  tmp = arg1.contents ("dense");
+                  tmp = arg1.getfield ("dense");
                   if (tmp.is_defined ())
                     Control[AMD_DENSE] = tmp.double_value ();
 
-                  tmp = arg1.contents ("aggressive");
+                  tmp = arg1.getfield ("aggressive");
                   if (tmp.is_defined ())
                     Control[AMD_AGGRESSIVE] = tmp.double_value ();
                 }