diff liboctave/Sparse.h @ 8181:1ebcb9872ced

fix sparse-matrix bool/cmp op instantiation problem
author John W. Eaton <jwe@octave.org>
date Mon, 06 Oct 2008 11:07:54 -0400
parents ff918ee1a983
children f5408862892f
line wrap: on
line diff
--- a/liboctave/Sparse.h
+++ b/liboctave/Sparse.h
@@ -46,6 +46,10 @@
 class
 Sparse
 {
+public:
+
+  typedef T elt_type;
+
 protected:
   //--------------------------------------------------------------------
   // The real representation of all Sparse arrays.