You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ASTExternalVariable now covers several scenarios: fetch a variable from the postsynaptic partner, fetch a variable from the postsynaptic partner at a specific time in the spiking history buffer, and at a specific time in a continuous-time history buffer.
To keep these cases separated, it might be an option to introduce a variable type enum covering each of these cases as a class attribute.
This would help to clean up the following lines of code in the printer:
This is a design idea for a refactoring/cleanup.
ASTExternalVariable now covers several scenarios: fetch a variable from the postsynaptic partner, fetch a variable from the postsynaptic partner at a specific time in the spiking history buffer, and at a specific time in a continuous-time history buffer.
To keep these cases separated, it might be an option to introduce a variable type enum covering each of these cases as a class attribute.
This would help to clean up the following lines of code in the printer:
nestml/pynestml/codegeneration/printers/nest_variable_printer.py
Line 65 in dea633c
The text was updated successfully, but these errors were encountered: