# HG changeset patch # User jwe # Date 1156440808 0 # Node ID 3ffedee0aef77b927771a2bc0eaca71905d37c13 # Parent b3478d7a0486dbbda250a24b7d3c0577db51c02d [project @ 2006-08-24 17:33:28 by jwe] diff -r b3478d7a0486 -r 3ffedee0aef7 src/DLD-FUNCTIONS/gcd.cc --- a/src/DLD-FUNCTIONS/gcd.cc Thu Aug 24 17:09:18 2006 +0000 +++ b/src/DLD-FUNCTIONS/gcd.cc Thu Aug 24 17:33:28 2006 +0000 @@ -240,6 +240,9 @@ } else { + // FIXME -- we need to handle a possible mixture of scalar and + // array values here. + NDArray g = args(0).array_value (); OCTAVE_LOCAL_BUFFER (NDArray, v, nargin);