Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One test fails: multiplicity (fixed precision) mismatch #378

Closed
yurivict opened this issue Aug 22, 2021 · 3 comments
Closed

One test fails: multiplicity (fixed precision) mismatch #378

yurivict opened this issue Aug 22, 2021 · 3 comments

Comments

@yurivict
Copy link

/disk-samsung/freebsd-ports/math/normaliz/work/Normaliz-3.9.0/source/normaliz  -v test-v/CondEffPlur-dd
8c8
< multiplicity (fixed precision) = 17982241898963544287907827749653/1000000000000000000000000000000000
---
> multiplicity (fixed precision) = 8991120949481772143953913874801/500000000000000000000000000000000
sed 's/ ~[^)]*)/)/g'  test-v/CondEffPlur-dd.ref |  diff -b -I ".*resulting.*\|.*triangulation.*\|.*float.*\|.*fixed.*\|.*" test-v/CondEffPlur-dd.out_test - > test-v/CondEffPlur-dd.diff
gmake[4]: *** [/disk-samsung/freebsd-ports/math/normaliz/work/Normaliz-3.9.0/test/Makefile.classic:142: test-v/CondEffPlur-dd.diff] Error 1
gmake[4]: Leaving directory '/disk-samsung/freebsd-ports/math/normaliz/work/Normaliz-3.9.0/test/run_tests'
gmake[3]: *** [Makefile:1221: check-local] Error 2
gmake[3]: Leaving directory '/disk-samsung/freebsd-ports/math/normaliz/work/Normaliz-3.9.0/test'
gmake[2]: *** [Makefile:1092: check-am] Error 2
gmake[2]: Leaving directory '/disk-samsung/freebsd-ports/math/normaliz/work/Normaliz-3.9.0/test'
gmake[1]: *** [Makefile:449: check-recursive] Error 1
gmake[1]: Leaving directory '/disk-samsung/freebsd-ports/math/normaliz/work/Normaliz-3.9.0'
*** Error code 1

OS: FreeBSD 13
clang-11

@w-bruns
Copy link
Contributor

w-bruns commented Aug 22, 2021

The difference of the two numbers is about 50*10^-100. Most likely it is caused by rounding differences due different choices of the generic element. I will suppress the strict check for fixed precision numbers.

@w-bruns
Copy link
Contributor

w-bruns commented Aug 23, 2021

I have now looked up Makefile.classic in the directory test. It already excludes lines that contain "fixed" from the check. have set STRICT=yes?

@w-bruns
Copy link
Contributor

w-bruns commented Sep 4, 2021

What is the status of this issue?

@w-bruns w-bruns closed this as completed Oct 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants