-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- I realized there was an issue when using sym=True in the fitting, I used floor divide`//` when I meant to use modulus `%`... this fixes that and adds a test. - I stupidly thought the `0**0` thing was fixed but I was using a jupyter notebook to test and must not have correctly restarted it when I checked if it worked, as it was still not working correctly for the case I have. The issue was the value when the `0**0` case occurs should not be 0, but rather 1. This fixes that, and adds a test for that as well in case we fiddle with the potential again in the future.
- Loading branch information
Showing
2 changed files
with
111 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters