-
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.
feat: Refactor step function to handle limit and return values
The step function in `fuzzylogic/functions.py` has been refactored to handle the limit and return values more accurately. It now returns the left argument when coming from the left, the average of the left and right arguments at the limit, and the right argument when coming from the right. This change improves the functionality and clarity of the step function. Note: The `njit` import has been commented out due to unresolved issues. Co-authored-by: dependabot[bot] <support@github.com>
- Loading branch information
Showing
3 changed files
with
66 additions
and
51 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
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