Skip to content

Commit

Permalink
fix(codegen/prettycode): Use base_indentation as intended
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Oct 20, 2024
1 parent 975a065 commit b52fe48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dace/codegen/prettycode.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class CodeIOStream(StringIO):
nodes. """
def __init__(self, base_indentation=0):
super(CodeIOStream, self).__init__()
self._indent = 0
self._indent = base_indentation
self._spaces = int(Config.get('compiler', 'indentation_spaces'))
self._lineinfo = Config.get_bool('compiler', 'codegen_lineinfo')

Expand Down

0 comments on commit b52fe48

Please sign in to comment.