diff liboctave/MatrixType.cc @ 10506:bdf5d85cfc5e

replace nzmax by nnz where appropriate in liboctave
author Jaroslav Hajek <highegg@gmail.com>
date Sat, 10 Apr 2010 21:04:55 +0200
parents 12884915a8e4
children 4d1fc073fbb7
line wrap: on
line diff
--- a/liboctave/MatrixType.cc
+++ b/liboctave/MatrixType.cc
@@ -212,7 +212,7 @@
   octave_idx_type nrows = a.rows ();
   octave_idx_type ncols = a.cols ();
   octave_idx_type nm = (ncols < nrows ? ncols : nrows);
-  octave_idx_type nnz = a.nzmax ();
+  octave_idx_type nnz = a.nnz ();
 
   if (octave_sparse_params::get_key ("spumoni") != 0.)
     (*current_liboctave_warning_handler) 
@@ -533,7 +533,7 @@
   octave_idx_type nrows = a.rows ();
   octave_idx_type ncols = a.cols ();
   octave_idx_type nm = (ncols < nrows ? ncols : nrows);
-  octave_idx_type nnz = a.nzmax ();
+  octave_idx_type nnz = a.nnz ();
 
   if (octave_sparse_params::get_key ("spumoni") != 0.)
     (*current_liboctave_warning_handler)