fntests.log shows error
Jim Langston
Jim.Langston at Sun.COM
Mon May 4 16:07:29 CDT 2009
Jaroslav Hajek wrote:
> On Mon, May 4, 2009 at 8:33 PM, Jim Langston <Jim.Langston at sun.com> wrote:
>
>> Hi all,
>>
>> I get this error when running the test harness:
>>
>> >>>>> processing
>> /export/home/langston/OCTAVE/octave-3.0.5/src/DLD-FUNCTIONS/tsearch.cc
>> >>>>> processing /export/home/langston/OCTAVE/octave-3.0.5/src/data.cc
>> ***** assert(norm(x,1), 20);
>> !!!!! test failed
>> error: norm: only implemented for double and complex values
>> shared variables {
>> x =
>>
>> 1 -3 4 5 -7
>>
>> }
>> ***** assert(norm(x,2), 10);
>> !!!!! test failed
>> error: norm: only implemented for double and complex values
>> shared variables {
>> x =
>>
>> 1 -3 4 5 -7
>>
>> }
>>
>>
>> any thoughts what is generating the error and where I can start to fix it?
>>
>> Thanks,
>>
>> Jim
>>
>> --
>> /////////////////////////////////////////////
>>
>> Jim Langston
>> Sun Microsystems, Inc.
>>
>> (877) 854-5583 (AccessLine)
>> (513) 702-4741 (Cell)
>> AIM: jl9594
>> jim.langston at sun.com
>>
>>
>
> Hello,
> I can't tell what generates the error for you (I don't see it) - it
> seems as if "norm" was called on non-real data, but I don't think
> there's a test that should be doing that. Maybe a miscompilation (opt.
> flags)? In any case I can't reproduce it with my 3.0.5 build.
> Doesn't occur in 3.1.x either, which is no surprise given that "norm"
> was completely rewritten for 3.1.x. If you can compile the development
> version, maybe the problem will just disappear (and no doubt dozens of
> others will pop up).
>
> cheers
>
>
I'm compiling w/ Sun Studio, I thought maybe it was a compiler flag, as
I do
not have the error with GCC on Linux. I don't know what would create the
error
to pass different flags especially since the GCC flags are solid and
nothing special
is getting passed in, that was the first thing I looked for.
--
/////////////////////////////////////////////
Jim Langston
Sun Microsystems, Inc.
(877) 854-5583 (AccessLine)
(513) 702-4741 (Cell)
AIM: jl9594
jim.langston at sun.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090504/7a169dba/attachment.html
More information about the Help-octave
mailing list