Integration differences between Windows version and Linux version of Octave

Miroslaw Kwasniak mirek at zind.ikem.pwr.wroc.pl
Thu May 21 15:10:57 CDT 2009


On Thu, May 21, 2009 at 09:51:52AM -0700, Adrian Spiridon wrote:
> ,and I use the quad function like this :Q = quad(@myfun,0,2)
>     Using windows program the result is Q= -0.4605    --> CORRECT
>     Using linux version the result is Q=   0.87910--> WRONG
>     
>    I have taken this example from the MATLABdocumentation siteso it is absolutely correct.
> 
> ....what may be the reason ?

Hmm :(

octave:2> Q = quad(@myfun,0,2)
Q = -0.46050
octave:3> OCTAVE_VERSION
ans = 3.0.1

Debian/Lenny


More information about the Bug-octave mailing list