comparison liboctave/DiagArray2.h @ 10312:cbc402e64d83

untabify liboctave header files
author John W. Eaton <jwe@octave.org>
date Thu, 11 Feb 2010 12:14:48 -0500
parents 4c0cdbe0acca
children 12884915a8e4
comparison
equal deleted inserted replaced
10311:a217e1d74353 10312:cbc402e64d83
107 107
108 DiagArray2 (const dim_vector& dv) 108 DiagArray2 (const dim_vector& dv)
109 : Array<T> (std::min (dv(0), dv(1))), d1 (dv(0)), d2 (dv(0)) 109 : Array<T> (std::min (dv(0), dv(1))), d1 (dv(0)), d2 (dv(0))
110 { 110 {
111 if (dv.length () != 2) 111 if (dv.length () != 2)
112 (*current_liboctave_error_handler) ("too many dimensions"); 112 (*current_liboctave_error_handler) ("too many dimensions");
113 } 113 }
114 114
115 DiagArray2 (const Array<T>& a) 115 DiagArray2 (const Array<T>& a)
116 : Array<T> (a), d1 (a.numel ()), d2 (a.numel ()) { } 116 : Array<T> (a), d1 (a.numel ()), d2 (a.numel ()) { }
117 117