fminunc with a one-variable function
John W. Eaton
jwe at octave.org
Fri Jul 24 15:08:38 CDT 2009
On 24-Jul-2009, Jonathan Stickel wrote:
| I would prefer not to overwrite the installed chol.oct since it is under
| the control of my system's package management.
I think it is safe to overwrite it with your fixed version. Most
package managers will just have a list of files, so it will still be
properly replaced on the next upgrade.
| "autoloads" that you mention and how do I override them?
If you want to go this route, then try creating a file called PKG_ADD
in the same directory as your new chol.oct file with the contents
autoload ("chol2inv", "chol.oct");
autoload ("choldelete", "chol.oct");
autoload ("cholinsert", "chol.oct");
autoload ("cholinv", "chol.oct");
autoload ("cholshift", "chol.oct");
autoload ("cholupdate", "chol.oct");
But I'm not sure whether this will conflict with the other autoload
commands for chol.oct that will be found later in your path. If that
happens, then I'd recommend removing the autoload statements from the
PKG_ADD file that is in the same directory as the original chol.oct
file, and probably removing the original chol.oct file as well.
To me, it seems simpler and less confusing to just replace the
chol.oct file with the new version.
jwe
More information about the Bug-octave
mailing list