-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rm function.replace, add deep and shallow variants (#863)
This PR removes the general function.replace decorator and replaces it with the specialized deep_replace_property (used for simplified and optimized_for_numpy) and shallow_replace (used for replace_arguments, _deep_flatten_constants and _combine_loop_concatenates). The differences between the two constructs are as follows: @deep_replace_property - property - intermediate values cached in object attribute - depth first - recursive @shallow_replace - function - intermediate values cached only during replacement - depth last - non recursive
- Loading branch information
Showing
4 changed files
with
343 additions
and
164 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
'Numerical Utilities for Finite Element Analysis' | ||
|
||
__version__ = version = '9a21' | ||
__version__ = version = '9a22' | ||
version_name = 'jook-sing' |
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
Oops, something went wrong.