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
This list is not deliberately ordered and if the indexes are not stored in to_delete[] in reverse order, the del operation on line 502 will have unexpected results.
The simplest fix is to insert "to_delete.sort(reverse=True)" between the two for loops as follows:
PySpice/PySpice/Spice/Parser.py
Line 501 in 1fb97dc
This list is not deliberately ordered and if the indexes are not stored in to_delete[] in reverse order, the del operation on line 502 will have unexpected results.
The simplest fix is to insert "to_delete.sort(reverse=True)" between the two for loops as follows:
The text was updated successfully, but these errors were encountered: