Skip to content

Commit

Permalink
Fix pycodestyle errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pnbabu committed Dec 18, 2024
1 parent e08eec1 commit 0386b58
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pynestml/codegeneration/nest_code_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,8 +234,8 @@ def setup_printers(self):
self._gsl_function_call_printer = NESTGSLFunctionCallPrinter(None)

self._gsl_printer = CppExpressionPrinter(simple_expression_printer=CppSimpleExpressionPrinter(variable_printer=self._gsl_variable_printer,
constant_printer=self._constant_printer,
function_call_printer=self._gsl_function_call_printer))
constant_printer=self._constant_printer,
function_call_printer=self._gsl_function_call_printer))
self._gsl_function_call_printer._expression_printer = self._gsl_printer

# ODE-toolbox printers
Expand Down
4 changes: 2 additions & 2 deletions pynestml/codegeneration/nest_compartmental_code_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ def setup_printers(self):

self._gsl_printer = CppExpressionPrinter(
simple_expression_printer=CppSimpleExpressionPrinter(variable_printer=self._gsl_variable_printer,
constant_printer=self._constant_printer,
function_call_printer=self._gsl_function_call_printer))
constant_printer=self._constant_printer,
function_call_printer=self._gsl_function_call_printer))
self._gsl_function_call_printer._expression_printer = self._gsl_printer

# ODE-toolbox printers
Expand Down
4 changes: 2 additions & 2 deletions pynestml/codegeneration/spinnaker_code_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,8 @@ def setup_printers(self):

self._gsl_printer = CppExpressionPrinter(
simple_expression_printer=CSimpleExpressionPrinter(variable_printer=self._gsl_variable_printer,
constant_printer=self._constant_printer,
function_call_printer=self._gsl_function_call_printer))
constant_printer=self._constant_printer,
function_call_printer=self._gsl_function_call_printer))
self._gsl_function_call_printer._expression_printer = self._gsl_printer

# ODE-toolbox printers
Expand Down

0 comments on commit 0386b58

Please sign in to comment.