octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #64678] pkg load matgeom warning and errors


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #64678] pkg load matgeom warning and errors
Date: Fri, 15 Sep 2023 15:48:31 -0400 (EDT)

Follow-up Comment #2, bug #64678 (project octave):

verLessThan.m merely does the same as the core Octave function.
As the OP shows the matgeom package neatly renames the verLessThan.m function
out of the way, as intended.

However, matgeom's normalize.m (in the geom2d/ subdir) works quite differently
than core Octave's one and AFAICS is meant to be used in different situations.
I expect that suppose sooner or later errors will occur, mostly if functions
from the matgeom package and core Octave's statistics functions will be used
together. I don't know of such situations in the wild.

FWIW, in my own local copies of the matgeom package I've renamed normalize.m
to normalizeLine2d.m just to be sure, but that's just a local and private
solution.
An underlying issue is that the matgeom package is merely a repackaging for
Octave of the external Matlab matgeom toolbox (see here:
https://github.com/mattools/matGeom?search=1). Unfortunately that toolbox
itself shadows Matlab's own 'normalize.m' function. I suppose an upstream bug
report mentioning this with that matgeom toobox might be due.

Anyway this sort of issues is to be expected, a.o. due to lack of a namespace
mechanism in the Octave (Matlab) language and the ever growing number of
functions for Octave (and Matlab) supplied through ever more packages ...

@OP (starry):
As to
> I want this problem solved soon.
Sure, we understand, but Octave is a volunteer project. We may take nudges but
no orders. For now I interpret your wish as a nudge, though :-)
If you want it to be solved 'soon' you can -in the spirit of Open Source- also
take action yourself, e.g., by submitting that bug report upstream with the
matgeom toolbox for Matlab (see https://github.com/mattools/matGeom/issues).
So there, I've voluntarily already sorted out some things for you ;-)


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64678>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]