[GiNaC-list] cl_F_idecode.cc line 30 ?

Alexei Sheplyakov varg at theor.jinr.ru
Wed Jul 30 10:41:52 CEST 2008


On Wed, Jul 30, 2008 at 10:27:16AM +0400, Alexei Sheplyakov wrote:

> On Tue, Jul 29, 2008 at 05:09:39PM -0500, Chris Bouchard wrote:
> 
> >"Internal error: statement in file 
> >./float/misc/cl_F_idecode.cc, line 30 has been reached!!
> >Please send the authors of the program a description how you 
> >produced this error!"
> 
> It looks like invalid conversion of some numeric type to a (big)float.

I think I've reproduced it:

$ cat numeric_archive.cpp

#include <cln/cln.h>
#include <ginac/ginac.h>
#include <iostream>
using namespace GiNaC;
using namespace cln;

int main(int argc, char** argv)
{
	const cl_N n = complex(1, cl_float(3.0));
	ex test = numeric(n);
	std::cout << "Let's try to archive " << test << std::endl;
	archive ar;
	ar.archive_ex(test, "test");
	return 0;
}

$ g++ numeric_archive.cpp -lginac -lcln
$ ./a.out
Let's try to archive 1+3.0*I
Internal error: statement in file ./float/misc/cl_F_idecode.cc, line 30 has been reached!!
Please send the authors of the program a description how you produced this error!

Best regards,
	Alexei

-- 
All science is either physics or stamp collecting.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://www.cebix.net/pipermail/ginac-list/attachments/20080730/360dd407/attachment.sig 


More information about the GiNaC-list mailing list