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

Changed way of computing p_rad to avoid roundoff errors #142

Merged
merged 5 commits into from
Aug 21, 2019

Conversation

solveignaess
Copy link
Contributor

  • Simpler way of computing p_rad
  • Will avoid roundoff errors for large rz
  • Added new test

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 96.844% when pulling c576575 on solveignaess:4Scleanup into 73b4f33 on LFPy:master.

Copy link
Contributor

@torbjone torbjone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Certainly looks better, and works on my end. The NaN that I saw earlier is gone.

@espenhgn espenhgn added this to the v2.1 milestone Aug 21, 2019
@espenhgn
Copy link
Collaborator

+1 also from me. Tx! Merging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants