changeset 1273:9c2f1e3afc2e octave-forge

Make sure this is interpreted as a script, and not as a function file
author pkienzle
date Fri, 06 Feb 2004 19:41:23 +0000
parents ad4971693bc2
children e2daebed2db7
files main/optim/Optimize/ExampleBFGSMin.m
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/main/optim/Optimize/ExampleBFGSMin.m	Fri Feb 06 19:33:20 2004 +0000
+++ b/main/optim/Optimize/ExampleBFGSMin.m	Fri Feb 06 19:41:23 2004 +0000
@@ -25,6 +25,8 @@
 # The argument w.r.t. which we minimize must be the FIRST argument
 # in the cell array that is the argument to BFGSMin.
 
+1;
+
 # Function value and gradient vector of the rosenbrock function
 # The minimizer is at the vector (1,1,..,1),
 # and the minimized value is 0.