diff liboctave/fNDArray.h @ 8956:d91fa4b20bbb

ensure nonnegative char -> real conversion
author Jaroslav Hajek <highegg@gmail.com>
date Wed, 11 Mar 2009 10:31:08 +0100
parents eb63fbe60fab
children ed5055b0a476
line wrap: on
line diff
--- a/liboctave/fNDArray.h	Tue Mar 10 21:54:39 2009 -0400
+++ b/liboctave/fNDArray.h	Wed Mar 11 10:31:08 2009 +0100
@@ -57,6 +57,8 @@
   template <class U>
   explicit FloatNDArray (const intNDArray<U>& a) : MArrayN<float> (a) { }
 
+  FloatNDArray (const charNDArray&); 
+
   FloatNDArray& operator = (const FloatNDArray& a)
     {
       MArrayN<float>::operator = (a);