# HG changeset patch # User jwe # Date 750972361 0 # Node ID b4bdbdf95e05b563eb312b8d219149f6c843e2fb # Parent d1c5e5edbf1e6630629831f74b3647124c1b7ac1 [project @ 1993-10-18 19:26:01 by jwe] .. diff -r d1c5e5edbf1e -r b4bdbdf95e05 src/det.cc --- a/src/det.cc Mon Oct 18 19:26:01 1993 +0000 +++ b/src/det.cc Mon Oct 18 19:26:01 1993 +0000 @@ -35,7 +35,7 @@ #ifdef WITH_DLD tree_constant * -builtin_det_2 (tree_constant *args, int nargin, int nargout) +builtin_det_2 (const tree_constant *args, int nargin, int nargout) { tree_constant *retval = new tree_constant [2]; retval[0] = determinant (args[1]); @@ -44,7 +44,7 @@ #endif tree_constant -determinant (tree_constant& a) +determinant (const tree_constant& a) { tree_constant retval; diff -r d1c5e5edbf1e -r b4bdbdf95e05 src/eig.cc --- a/src/eig.cc Mon Oct 18 19:26:01 1993 +0000 +++ b/src/eig.cc Mon Oct 18 19:26:01 1993 +0000 @@ -35,14 +35,14 @@ #ifdef WITH_DLD tree_constant * -builtin_eig (tree_constant *args, int nargin, int nargout) +builtin_eig (const tree_constant *args, int nargin, int nargout) { return eig (args, nargin, nargout); } #endif tree_constant * -eig (tree_constant *args, int nargin, int nargout) +eig (const tree_constant *args, int nargin, int nargout) { tree_constant *retval = NULL_TREE_CONST;