comparison src/pt-mat.cc @ 5631:7171d19706df

[project @ 2006-02-22 20:15:06 by dbateman]
author dbateman
date Wed, 22 Feb 2006 20:16:00 +0000
parents 512d0d11ae39
children faafc2d98b8d
comparison
equal deleted inserted replaced
5630:512d0d11ae39 5631:7171d19706df
344 all_real = false; 344 all_real = false;
345 345
346 if (all_cmplx && ! (val.is_complex_type () || val.is_real_type ())) 346 if (all_cmplx && ! (val.is_complex_type () || val.is_real_type ()))
347 all_cmplx = false; 347 all_cmplx = false;
348 348
349 if (!any_sparse && val.class_name() == "sparse") 349 if (!any_sparse && val.is_sparse_type ())
350 any_sparse = true; 350 any_sparse = true;
351 351
352 return true; 352 return true;
353 } 353 }
354 354