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

All-NaN axis encountered in var_table when using SolutionArray.savetxt() #1474

Closed
pgkirsch opened this issue Mar 4, 2020 · 1 comment · Fixed by #1475
Closed

All-NaN axis encountered in var_table when using SolutionArray.savetxt() #1474

pgkirsch opened this issue Mar 4, 2020 · 1 comment · Fixed by #1475

Comments

@pgkirsch
Copy link
Contributor

pgkirsch commented Mar 4, 2020

In [4]: sol.savetxt("test")                                                                                                             
/Users/philippe.kirschen/Documents/Optimization/gpkit/gpkit/solution_array.py:691: RuntimeWarning: All-NaN axis encountered
  if np.nanmax(np.abs(v)) > minval:

More information provided in private repo.

@bqpd
Copy link
Contributor

bqpd commented Mar 4, 2020

This is working as intended! But I should capture those warnings.

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

Successfully merging a pull request may close this issue.

2 participants