Re: [Tecomp-user] tecomp, MATRIX class
Status: Beta
Brought to you by:
helmut_brandl
From: Helmut B. <hel...@gm...> - 2009-09-10 15:08:19
|
-------- Original Message -------- Subject: Re: tecomp, MATRIX class Date: Tue, 08 Sep 2009 17:11:13 +0200 From: Jörgen Tegnér <jor...@te...> To: Helmut Brandl <hel...@gm...> References: <125...@bu...> <4AA...@gm...> On Tue, 2009-09-08 at 08:27 -0500, Helmut Brandl wrote: > Hello Jörgen, > > could you give me more details: > > - which version of tecomp did you use (tecomp -v outputs the version)? > > - what irregularity did you see exactly? > > - are you on a 32bit or 64bit system? > > The best would be to include some code into examples/test_complex.e and > examples/complex.e which reproduces the error via a failed assertion in > test_complex.e. > Hi, apologies for the unclear report. tecomp/examples$ ../gen_dir/bin/tecomp -v tecomp version: 0.18.1 Running on a 32 bit computer. tecomp/examples$ ../gen_dir/bin/tecomp test_complex2.ace a = [1,0] b = [0,1] c = [0,-1] d=a+b = [1,1] e=-d = [-1,-1] f=e.conj = [-1,1.08213e+09] The imaginary part of f should be 1, but is garbled. Depending on how the negation is done in COMPLEX.conj the result is either correct (1) or garbled as above. The files test_complex2.ace, test_complex2.e and complex.e are attached. /Jörgen |