Skip to content

Commit 0ed7699

Browse files
fix typo
1 parent b9d0867 commit 0ed7699

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

PySpice/Spice/NgSpice/Shared.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -920,11 +920,11 @@ def _alter(self, command, device, kwargs):
920920
if isinstance(value, (list, tuple)):
921921
value = '[ ' + ' '.join(value) + ' ]'
922922
cmd = '{} {} {} = {}'.format(command, device_name, key, value)
923-
# performance optimization: collect multiple alter commands and
923+
# performance optimization: collect multiple alter commands and
924924
# dispatch them jointly
925925
commands.append(cmd)
926926
commands_str_len += len(cmd)
927-
if commands_str_len + len(commands) > self.__MAX_COMMAND_LENGTH__:
927+
if commands_str_len + len(commands) > self.MAX_COMMAND_LENGTH:
928928
self.exec_command(';'.join(commands[:-1]))
929929
commands = commands[-1:]
930930
commands_str_len = len(commands[0])

0 commit comments

Comments
 (0)