Refactor unnecessary `else` / `elif` when `if` block has a `continue` statement
@@ -226,7 +226,6 @@ class DHFactor(ETS):
if new is None:
out *= e
continue
- else:
out *= new
nchanges += 1
print(f"subs2z: {e} := {new}")
@@ -271,7 +270,6 @@ class DHFactor(ETS):
if new is None:
out *= this
continue
- else:
out *= new
nchanges += 1
print(f"subs2z2: {this} := {new}")
