[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fntests.log shows error
From: |
Jaroslav Hajek |
Subject: |
Re: fntests.log shows error |
Date: |
Mon, 4 May 2009 21:18:03 +0200 |
On Mon, May 4, 2009 at 8:33 PM, Jim Langston <address@hidden> 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
> address@hidden
>
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
--
RNDr. Jaroslav Hajek
computing expert & GNU Octave developer
Aeronautical Research and Test Institute (VZLU)
Prague, Czech Republic
url: www.highegg.matfyz.cz