./float/misc/cl_F_digits.cc

View: New views
2 Messages — Rating Filter:   Alert me  

./float/misc/cl_F_digits.cc

by Hielos :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, this is the bug:

octave:3> a=sym("a")
a =

a
octave:4> a=to_char(sym("a"))
error: Internal error: statement in file ./float/misc/cl_F_digits.cc, line 29 has been reached!!
Please send the authors of the program a description how you produced this error!

If you ask me, the reason for this would be that I had not typed 'symbols'

Re: ./float/misc/cl_F_digits.cc

by Søren Hauberg :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

lør, 26 09 2009 kl. 14:11 -0700, skrev Hielos:
> octave:3> a=sym("a")
> a =
>
> a
> octave:4> a=to_char(sym("a"))
> error: Internal error: statement in file ./float/misc/cl_F_digits.cc, line
> 29 has been reached!!
> Please send the authors of the program a description how you produced this
> error!

This is a bug in the 'symbolic' package, which uses Ginac for most of
its computations. Looking at the source code it seems that the error
message comes from Ginac and not Octave.

> If you ask me, the reason for this would be that I had not typed 'symbols'

I am not familiar with the 'symbolic' package, but it seems that calling
'symbols' initialises the 'symbolic' package. I guess this should be
done automatically when the package is loaded.

Can somebody remind me: what is the proper way of calling a function
when a package is loaded? Should I just put

  symbols ();

at the end of the 'PKG_ADD' file?

Søren

_______________________________________________
Bug-octave mailing list
Bug-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/bug-octave