diff liboctave/MArray.cc @ 6508:184ab67c3bc1

[project @ 2007-04-07 00:43:09 by jwe]
author jwe
date Sat, 07 Apr 2007 00:43:10 +0000
parents 4c8a2e4e0717
children 93c65f2a5668
line wrap: on
line diff
--- a/liboctave/MArray.cc	Fri Apr 06 20:00:38 2007 +0000
+++ b/liboctave/MArray.cc	Sat Apr 07 00:43:10 2007 +0000
@@ -33,6 +33,16 @@
 
 // One dimensional array with math ops.
 
+template <class T>
+double
+MArray<T>::norm (double) const
+{
+  (*current_liboctave_error_handler)
+    ("norm: only implemented for double and complex values");
+
+  return 0;
+}
+
 // Element by element MArray by scalar ops.
 
 template <class T>