diff src/ov-mapper.cc @ 6823:9fddcc586065

[project @ 2007-08-24 08:27:27 by dbateman]
author dbateman
date Fri, 24 Aug 2007 08:27:29 +0000
parents ace8d8d26933
children 2d326000e09b
line wrap: on
line diff
--- a/src/ov-mapper.cc
+++ b/src/ov-mapper.cc
@@ -241,7 +241,7 @@
 	    error ("%s: unable to handle real arguments",
 		   name().c_str ());
 	}
-      else if (arg.class_name () == "sparse")
+      else if (arg.is_sparse_type ())
 	{
 	  const SparseMatrix m = arg.sparse_matrix_value ();
 
@@ -309,7 +309,7 @@
 	    error ("%s: unable to handle complex arguments",
 		   name().c_str ());
 	}
-      else if (arg.class_name () == "sparse")
+      else if (arg.is_sparse_type ())
 	{
 	  SparseComplexMatrix cm = arg.sparse_complex_matrix_value ();