# HG changeset patch # User jwe # Date 1156440808 0 # Node ID 3ffedee0aef77b927771a2bc0eaca71905d37c13 # Parent b3478d7a0486dbbda250a24b7d3c0577db51c02d [project @ 2006-08-24 17:33:28 by jwe] diff --git a/src/DLD-FUNCTIONS/gcd.cc b/src/DLD-FUNCTIONS/gcd.cc --- a/src/DLD-FUNCTIONS/gcd.cc +++ b/src/DLD-FUNCTIONS/gcd.cc @@ -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);