diff liboctave/array/Range.h @ 29351:326a7ca62c43

also define range<float>::nnz specialization * Range.h, Range.cc (xnnz): New template function. (range<float>::nnz): New specialization. (range<double>::nnz, range<float>::nnz): Forward to xnnz.
author John W. Eaton <jwe@octave.org>
date Fri, 05 Feb 2021 13:25:42 -0500
parents 3ef055ca1d5e
children 03c283f73b9a
line wrap: on
line diff
--- a/liboctave/array/Range.h	Thu Feb 04 10:11:00 2021 -0500
+++ b/liboctave/array/Range.h	Fri Feb 05 13:25:42 2021 -0500
@@ -355,6 +355,7 @@
   template <> OCTAVE_API float range<float>::get_final_value (void) const;
 
   template <> OCTAVE_API octave_idx_type range<double>::nnz (void) const;
+  template <> OCTAVE_API octave_idx_type range<float>::nnz (void) const;
 }
 
 class