Mercurial > hg > octave-nkf
comparison liboctave/MArray-f.cc @ 8677:095ae5e0a831
eliminte some compiler warnings
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 05 Feb 2009 02:42:58 -0500 |
parents | c374691576f6 |
children | eb63fbe60fab |
comparison
equal
deleted
inserted
replaced
8676:22462fd58e66 | 8677:095ae5e0a831 |
---|---|
34 | 34 |
35 template <> | 35 template <> |
36 OCTAVE_API float | 36 OCTAVE_API float |
37 MArray<float>::norm (float p) const | 37 MArray<float>::norm (float p) const |
38 { | 38 { |
39 return xnorm (FloatColumnVector (*this)); | 39 return xnorm (FloatColumnVector (*this), p); |
40 } | 40 } |
41 | 41 |
42 template class OCTAVE_API MArray<float>; | 42 template class OCTAVE_API MArray<float>; |
43 | 43 |
44 INSTANTIATE_MARRAY_FRIENDS (float, OCTAVE_API) | 44 INSTANTIATE_MARRAY_FRIENDS (float, OCTAVE_API) |