help-octave
[Top][All Lists]
Advanced

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

Re: Developing Octave-Forge packages


From: Sergei Steshenko
Subject: Re: Developing Octave-Forge packages
Date: Mon, 27 Dec 2010 13:30:21 -0800 (PST)


--- On Mon, 12/27/10, Jordi Gutiérrez Hermoso <address@hidden> wrote:

> From: Jordi Gutiérrez Hermoso <address@hidden>
> Subject: Re: Developing Octave-Forge packages
> To: "Søren Hauberg" <address@hidden>
> Cc: "Octave-help" <address@hidden>
> Date: Monday, December 27, 2010, 1:07 PM
> 2010/12/27 Søren Hauberg <address@hidden>:
> > man, 27 12 2010 kl. 11:25 -0600, skrev Jordi
> Gutiérrez Hermoso:
> >> 2010/12/27 Søren Hauberg <address@hidden>:
> >> > man, 27 12 2010 kl. 08:30 -0600, skrev Jordi
> Gutiérrez Hermoso:
> >> >> Hi, I started working on Debian bug
> #607071 yesterday:
> >> >>
> >> >>      http://bugs.debian.org/607071
> >> >
> >> > For what it's worth, this package seems to
> work for me (though others
> >> > are having grave troubles).
> >>
> >> This is very odd. It's probably an API change in
> GiNac. Which version
> >> are you using? On Debian we have 1.5.8
> >
> > I've tried the 1.5.1 that is distributed with Ubuntu
> and a self-compiled
> > 1.5.8. They seem to work, though I am not a "real"
> user (only a
> > debugger) so I'm probably not the best tester out
> there...
> 
> Did you actually try to use the package? Thomas Weber just
> marked my
> bug as unreproducible as well. As I understand it, this
> should produce
> 1, and it produces zero instead:
> 
>      x = sym("x");
>      differentiate(x,x)
> 
> And trying something like
> 
>      differentiate(x^2,x)
> 
> gives me C++ errors. Attempting
> 
>      differentiate(Sin(x),x)
> 
> gives me segfaults/stack corruption/internal error, and
> pretty much
> the whole range of nasal demons.
> 
> Are you unable to reproduce this?
> 
> - Jordi G. H.
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://mailman.cae.wisc.edu/listinfo/help-octave
> 

I see the same errors with self-built octave-3.0.5 and

"
symbolic *|   1.0.7 | /home/qemu/octave/symbolic-1.0.7
":

"
octave:1> pkg load symbolic
octave:2>  x = sym("x");
octave:3>      differentiate(x,x)
ans =

0
octave:4>
octave:4>
octave:4>      differentiate(x^2,x)
error: T& Array<T>::checkelem (4, -1, 2): range error
error: binary operator `^' not implemented for `ex' by `scalar' operations
error: evaluating binary operator `^' near line 4, column 21
error: evaluating argument list element number 1
octave:4> differentiate(Sin(x),x)
error: Internal error: statement in file real/elem/cl_R_mul.cc, line 93 has 
been reached!!
Please send the authors of the program a description how you produced this 
error!
error: evaluating argument list element number 1
".

Ginac is: ginac-1.5.8.

Regards,
  Sergei.






reply via email to

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