[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" g
From: |
Colin Macdonald |
Subject: |
[Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" gives "help beta" text |
Date: |
Thu, 17 Jan 2019 13:08:23 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:64.0) Gecko/20100101 Firefox/64.0 |
URL:
<https://savannah.gnu.org/bugs/?55501>
Summary: subsequent calls to "help @sym/beta" gives "help
beta" text
Project: GNU Octave
Submitted by: cbm
Submitted on: Thu 17 Jan 2019 06:08:22 PM UTC
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Regression
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 5.0.1
Operating System: GNU/Linux
_______________________________________________________
Details:
If I load the symbolic package in the latest 5.0.1 (well within a day or two),
"help" sometimes fails.
1. "help @sym/beta". This works.
2. "help @sym/beta". Now it gives the result of the core "help beta".
All subsequent calls to "help @sym/beta" give the core beta function.
100% reproducible for me. "clear classes" resets the behaviour so that "help
@sym/beta" works once correctly again.
Notably I cannot reproduce with "help @sym/sin": perhaps because of built-in
versus m-file (but that's just a guess).
>> help beta
'beta' is a function from the file
/home/cbm/.octavehg/share/octave/5.0.1/m/specfun/beta.m
>> help sin
'sin' is a built-in function from the file libinterp/corefcn/mappers.cc
Here's another overloaded function, with slightly different but related
results:
>> clear classes
>> help @sym/qr
'@sym/qr' is a function from the file
/home/cbm/work/octsympy/octsympy.git/inst/@sym/qr.m
-- Method on @sym: [Q, R] = qr (A)
-- Method on @sym: [Q, R] = qr (A, 0)
Symbolic QR factorization of a matrix.
---- 8< ----
without the extra argument.
See also: qr, @sym/lu.
>> help @sym/qr
error: help: '@sym/qr' not found
>> help qr
'qr' is a function from the file
/home/cbm/.octavehg/lib/octave/5.0.1/oct/x86_64-pc-linux-gnu/qr.oct
-- [Q, R] = qr (A)
----- 8< -----
So maybe different behaviours depending on whether the core function is a .oct
file, .cc file or .m file.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?55501>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" gives "help beta" text,
Colin Macdonald <=
- [Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" gives "help beta" text, Colin Macdonald, 2019/01/17
- [Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" gives "help beta" text, Rik, 2019/01/17
- [Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" gives "help beta" text, Rik, 2019/01/17
- [Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" gives "help beta" text, Mike Miller, 2019/01/18
- [Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" gives "help beta" text, Colin Macdonald, 2019/01/18
- [Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" gives "help beta" text, Rik, 2019/01/18
- [Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" gives "help beta" text, Colin Macdonald, 2019/01/19
- [Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" gives "help beta" text, Rik, 2019/01/19
- [Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" gives "help beta" text, John W. Eaton, 2019/01/19
- [Octave-bug-tracker] [bug #55501] subsequent calls to "help @sym/beta" gives "help beta" text, John W. Eaton, 2019/01/21