help-octave
[Top][All Lists]
Advanced

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

Re: fntests.log shows error


From: Jim Langston
Subject: Re: fntests.log shows error
Date: Mon, 04 May 2009 17:07:29 -0400
User-agent: Thunderbird 2.0.0.17 (X11/20081023)

Jaroslav Hajek wrote:
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

  
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
address@hidden

reply via email to

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