[Bugfix]: No scaling if 0.0!

This commit is contained in:
2020-07-08 15:32:16 +02:00
parent 075beb2db3
commit 707c596672
2 changed files with 2 additions and 2 deletions

View File

@@ -132,7 +132,7 @@ class Magnitude(object):
scaling = False
else:
scaling = True
if scaling:
if scaling == True:
# scaling necessary
print("Scaling network magnitude ...")
mag = ope.Magnitude(