changeset 163:b4bdbdf95e05

[project @ 1993-10-18 19:26:01 by jwe] ..
author jwe
date Mon, 18 Oct 1993 19:26:01 +0000
parents d1c5e5edbf1e
children e2c950dd96d2
files src/det.cc src/eig.cc
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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;
 
--- 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;