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

Init using np.zeros instead of np.empty to avoid overflow #60

Merged
merged 1 commit into from
Oct 18, 2019
Merged

Init using np.zeros instead of np.empty to avoid overflow #60

merged 1 commit into from
Oct 18, 2019

Conversation

DandilionLau
Copy link
Contributor

  • Using np.zeros instead of np.empty for initialization
  • Resolve random overflow error:
Python/2.7/lib/python/site-packages/ipykernel_launcher.py:5: RuntimeWarning: overflow encountered in square

@eriklindernoren
Copy link
Owner

Thanks!

@eriklindernoren eriklindernoren merged commit a2806c6 into eriklindernoren:master Oct 18, 2019
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

Successfully merging this pull request may close these issues.

2 participants