help-octave
[Top][All Lists]
Advanced

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

Re: geom2d/deg2rad.m Shadows Core Library Function


From: Juan Pablo Carbajal
Subject: Re: geom2d/deg2rad.m Shadows Core Library Function
Date: Sun, 29 May 2016 00:32:16 +0200

On Sun, May 8, 2016 at 9:51 PM, Juan Pablo Carbajal
<address@hidden> wrote:
> On Fri, May 6, 2016 at 6:40 PM, Thomas D. Dean <address@hidden> wrote:
>> This is most likely a known issue.
>>
>> octave:3> pkg load geometry
>> warning: function /home/tomdean/octave/geometry-2.1.1/geom2d/deg2rad.m
>> shadows a core library function
>> warning: called from
>>     __geometry_package_register__ at line 34 column 5
>>     /home/tomdean/octave/geometry-2.1.1/PKG_ADD at line 2 column 1
>>     load_packages_and_dependencies at line 47 column 5
>>     load_packages at line 51 column 3
>>     pkg at line 414 column 7
>> warning: function /home/tomdean/octave/geometry-2.1.1/geom2d/rad2deg.m
>> shadows a core library function
>> warning: called from
>>     __geometry_package_register__ at line 34 column 5
>>     /home/tomdean/octave/geometry-2.1.1/PKG_ADD at line 2 column 1
>>     load_packages_and_dependencies at line 47 column 5
>>     load_packages at line 51 column 3
>>     pkg at line 414 column 7
>>
>> Tom Dean
>>
>> _______________________________________________
>> Help-octave mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/help-octave
>
> Thanks, I think we can deprecate deg2rad from geometry.

Carnë gave a suggestion to have these functions conditional on
Octave's version. I found it to be too much of a hassle (and introduce
potential problems) for what are really trivial functions.
I have removed both functions from the geometry package. This implies
that the next release will require Octave 4.0.1 or later.



reply via email to

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