comparison src/DLD-FUNCTIONS/gcd.cc @ 5964:3ffedee0aef7

[project @ 2006-08-24 17:33:28 by jwe]
author jwe
date Thu, 24 Aug 2006 17:33:28 +0000
parents 080c08b192d8
children 5f662c1cfbbe
comparison
equal deleted inserted replaced
5963:b3478d7a0486 5964:3ffedee0aef7
238 retval (1) = v; 238 retval (1) = v;
239 retval (0) = g; 239 retval (0) = g;
240 } 240 }
241 else 241 else
242 { 242 {
243 // FIXME -- we need to handle a possible mixture of scalar and
244 // array values here.
245
243 NDArray g = args(0).array_value (); 246 NDArray g = args(0).array_value ();
244 247
245 OCTAVE_LOCAL_BUFFER (NDArray, v, nargin); 248 OCTAVE_LOCAL_BUFFER (NDArray, v, nargin);
246 249
247 int nel = dv.numel (); 250 int nel = dv.numel ();