[GiNaC-devel] make check fails

Alexei Sheplyakov varg at theor.jinr.ru
Thu Apr 3 19:16:36 CEST 2008


On Thu, Apr 03, 2008 at 12:02:19PM +0200, Jens Vollinga wrote:

> commit 70eaf7b7ad5250df07323b5a2e35803f69b33b14

I've applied this patch to ginac_1-3. The exam_inifcns_nstdsums fails now.

The check which fails is:

static unsigned inifcns_test_legacy()
{
	Digits = 17;
	ex prec = 5 * pow(10, -(int)Digits);

	unsigned result = 0;

	ex r1 = zeta(lst(1,1,1,1,1,1),lst(-1,-1,-1,1,1,1));
	if ((r1.evalf() - numeric("-0.0012588769028204890704")) > prec) {
		clog << "zeta({1,1,1,1,1,1},{-1,-1,-1,1,1,1}) seems to be wrong." << endl;
		clog << r1.evalf() << endl;
		result++;
	}

	return result;
}

So, something must be wrong: either the patch or the test. Any ideas?

Best regards,
	Alexei

-- 
All science is either physics or stamp collecting.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20080403/7c61d9d5/attachment.sig>


More information about the GiNaC-devel mailing list