From bug-octave-request at bevo dot che dot wisc dot edu Sun Dec 17 13:45:02 2000 Subject: Small Documentation bug in 2.1.32 From: Bill Lash To: bug-octave at bevo dot che dot wisc dot edu Date: Sun, 17 Dec 2000 13:44:26 -0600 [My first attempt to send this seems to have gotten lost along the way. Sorry if you get this twice] I finally got around to trying a more recent version of the 2.1.xx family, and found that a .oct file I had written (for 2.1.14) no longer compiled. I looked at oregonator.cc and noticed that the line which used to read: ColumnVector x = args(0).vector_value (); now reads: ColumnVector x (args(0).vector_value ()); The file func.txi, however still includes the original version. A patch for func.txi is included below. Now all I need to do is figure out exactly what this new form is trying to say. My C++ is rusty from lack of use. Bill Lash lash at tellabs dot com --- func.txi.orig Sat Dec 16 15:26:18 2000 +++ func.txi Sat Dec 16 15:27:02 2000 at @ -709,7 +709,7 @@ at { ColumnVector dx (3); - ColumnVector x = args(0).vector_value (); + ColumnVector x (args(0).vector_value ()); dx(0) = 77.27 * (x(1) - x(0)*x(1) + x(0) - 8.375e-06*pow (x(0), 2)); at @ -763,7 +763,7 @@ differential equation, and the statement at example -ColumnVector x = args(0).vector_value (); +ColumnVector x (args(0).vector_value ()); at end example at noindent ------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. Octave's home on the web: http://www.octave.org How to fund new projects: http://www.octave.org/funding.html Subscription information: http://www.octave.org/archive.html -------------------------------------------------------------