[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #40578] OF linear-algebra: typo in @kronprod/i
From: |
Philip Nienhuis |
Subject: |
[Octave-bug-tracker] [bug #40578] OF linear-algebra: typo in @kronprod/iscomplex.m |
Date: |
Thu, 14 Nov 2013 17:37:54 +0000 |
User-agent: |
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.11) Gecko/20100701 SeaMonkey/2.0.6 |
Follow-up Comment #3, bug #40578 (project octave):
I think the iscomplex() shadowing is a bit of a side-issue.
__run_test_suite__.m is undocumented and I haven't checked it out yet, so
perhaps it is just rong invocation by me.
As to my Octave setup:
I hit this on a plain, normal cross-built MinGW Octave (tip from yesterday
evening; unfortunately hg id's aren't kept in e.g., octave_config_info and as
I'm on Windows now I can't check).
No claims from me this MXE builds are perfect; but it is built using the
standard mxe-octave build chain.
I know about expected shadowing behavior with overloaded classes. Doesn't seem
to work as advertised *in this case*.
FYI,
>> which __run_test_suite__
'__run_test_suite__' is a function from the file
X:\Octave\octave-2013-11-12-15-36\share\octave\3.7.7+\m\testfun\__run_test_suite__.m
>>
:
>> which iscomplex
'iscomplex' is a built-in function from the file libinterp/corefcn/data.cc
>> pkg load general linear-algebra
>> which iscomplex
'iscomplex' is a built-in function from the file libinterp/corefcn/data.cc
>> __run_test_suite__
Integrated test scripts:
libinterp\corefcn\__contourc__.cc-tst .................. PASS 1/1
libinterp\corefcn\__dispatch__.cc-tst .................. PASS 1/1
libinterp\corefcn\__lin_interpn__.cc-tst ............... PASS 1/1
libinterp\corefcn\__pchip_deriv__.cc-tst ............... PASS 1/1
libinterp\corefcn\__qp__.cc-tst ........................ PASS 1/1
libinterp\corefcn\besselj.cc-tst ....................... PASS 191/191
libinterp\corefcn\betainc.cc-tst ....................... PASS 23/23
libinterp\corefcn\bsxfun.cc-tst ........................ PASS 73/73
libinterp\corefcn\cellfun.cc-tst ....................... PASS 127/129
FAIL
2
: Ctrl-C
and fntests.log says:
>>>>> processing
X:\Octave\octave-2013-11-12-15-36\share\octave\3.7.7+\etc\tests\libinterp\corefcn\cellfun.cc-tst
***** assert (cellfun (@iscomplex, {1 inf nan []}), [false, false, false,
false]);
!!!!! test failed
parse error near line 31 of file
X:address@hidden
syntax error
>>> retval = (iscomplex (KP.A) || iscomplex (KP.B);
^
***** assert (cellfun (@iscomplex, {1 inf nan []}, "UniformOutput", false),
{false, false, false, false});
!!!!! test failed
parse error near line 31 of file
X:address@hidden
syntax error
>>> retval = (iscomplex (KP.A) || iscomplex (KP.B);
I suppose it is better to unload all OF packages before running tests for core
Octave.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?40578>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/