-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix/standard_output_ports_calculate (#3114)
* • recurrenttransfermechanism.py - _instantiate_attributes_after_function(): fix assignment of StabilityFunction, and force update of default_variable for output_port • _instantiate_attributes_after_function: revise call to _update_default_variable to use energy.variable instead of value * • test_recurrent_transfer_mechanism.py - TestStandardOutputPorts: test_rtn_energy() test_rtn_entropy() * • recurrenttransfermechanism.py _instantiate_attributes_after_function(): refactor to assign functions for ENERGY and ENTROPY standard_output_ports before call to super()
- Loading branch information
Showing
3 changed files
with
90 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