|
From: | anonymous |
Subject: | [Octave-bug-tracker] [bug #60920] [octave forge] (optim) New warnings on loading package |
Date: | Mon, 19 Jul 2021 11:43:25 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0 |
Follow-up Comment #2, bug #60920 (project octave): I get an internal error about the invalid use of a symbol as both a variable and a command. This is with Octave version 7 (hg id: bc19d9360bac). The culprit seems to be the whitespace between a variable and the increment or decrement operator. Maybe this is a new change? octave:1> pkg load optim warning: optimset: no defaults for function 'lsqlin' warning: called from __all_opts__ at line 62 column 9 /path/to/optim-1.6.1/PKG_ADD at line 6 column 5 load_packages_and_dependencies at line 56 column 5 load_packages at line 53 column 3 pkg at line 590 column 7 warning: optimset: no defaults for function 'vfzero' warning: called from __all_opts__ at line 62 column 9 /path/to/optim-1.6.1/PKG_ADD at line 22 column 5 load_packages_and_dependencies at line 56 column 5 load_packages at line 53 column 3 pkg at line 590 column 7 octave:2> which lsqlin error: parse error near line 118 of file /path/to/optim-1.6.1/lsqlin.m n_out: invalid use of symbol as both variable and command >>> n_out --; ^ octave:3> which vfzero error: parse error near line 285 of file /path/to/optim-1.6.1/vfzero.m niter: invalid use of symbol as both variable and command >>> niter ++; nfev ++; ^ octave:4> lsqlin ('defaults') error: parse error near line 118 of file /path/to/optim-1.6.1/lsqlin.m n_out: invalid use of symbol as both variable and command >>> n_out --; ^ octave:5> vfzero ('defaults') error: parse error near line 285 of file /path/to/optim-1.6.1/vfzero.m niter: invalid use of symbol as both variable and command >>> niter ++; nfev ++; ^ _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60920> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |