comparison src/DLD-FUNCTIONS/matrix_type.cc @ 5775:ace8d8d26933

[project @ 2006-04-24 19:13:06 by jwe]
author jwe
date Mon, 24 Apr 2006 19:13:11 +0000
parents 8d7162924bd3
children 6b9cec830d72
comparison
equal deleted inserted replaced
5774:e7af222e98b0 5775:ace8d8d26933
189 else 189 else
190 { 190 {
191 // Ok, we're changing the matrix type 191 // Ok, we're changing the matrix type
192 std::string str_typ = args(1).string_value (); 192 std::string str_typ = args(1).string_value ();
193 193
194 // XXX FIXME, why do I have to explicitly call the constructor? 194 // FIXME -- why do I have to explicitly call the constructor?
195 SparseType mattyp = SparseType (); 195 SparseType mattyp = SparseType ();
196 196
197 octave_idx_type nl = 0; 197 octave_idx_type nl = 0;
198 octave_idx_type nu = 0; 198 octave_idx_type nu = 0;
199 199
306 return retval; 306 return retval;
307 } 307 }
308 308
309 /* 309 /*
310 310
311 ## XXX FIXME XXX 311 ## FIXME
312 ## Disable tests for lower under-determined and upper over-determined 312 ## Disable tests for lower under-determined and upper over-determined
313 ## matrices and this detection is disabled in SparseType due to issues 313 ## matrices and this detection is disabled in SparseType due to issues
314 ## of non minimum norm solution being found. 314 ## of non minimum norm solution being found.
315 315
316 %!assert(matrix_type(speye(10,10)),"Diagonal"); 316 %!assert(matrix_type(speye(10,10)),"Diagonal");