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

make check fails #3

Open
hmaarrfk opened this issue Jul 30, 2015 · 2 comments
Open

make check fails #3

hmaarrfk opened this issue Jul 30, 2015 · 2 comments

Comments

@hmaarrfk
Copy link

Hi,

It seems that sines-test is failing on my computer

Example output from harminv

$ ./sines 0.1+0.01i 0.08+0.001i | ./harminv 0.05-0.15
frequency, decay constant, Q, amplitude, phase, error

(yes no frequencies were found)

It seems to work if we change the range in which we look for frequencies

./sines 0.1+0.01i 0.08+0.001i | ./harminv 0.05-0.16
frequency, decay constant, Q, amplitude, phase, error
0.08, 1.000000e-03, 251.327, 2, 3.14159, 8.834857e-16
0.1, 1.000000e-02, 31.4159, 1, 4.78299e-14, 1.692517e-15

both frequencies correctly found!!!

Any clue as to why this might happen?

@stevengj
Copy link
Collaborator

Some kind of roundoff-error difference? It works for me with gcc on x86_64. What OS/machine/compiler are you using?

@hmaarrfk
Copy link
Author

Fedora 22 x86_64

Strange.

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