[Bugfix]: network magnitude has never been scaled!

This commit is contained in:
2020-07-08 15:20:03 +02:00
parent 7023bc4ce4
commit 075beb2db3
2 changed files with 9 additions and 21 deletions

View File

@@ -128,7 +128,7 @@ class Magnitude(object):
if self:
if magscaling is None:
scaling = False
elif magscaling[0] != 0 and magscaling[1] != 0:
elif magscaling[0] == 0.0 and magscaling[1] == 0.0:
scaling = False
else:
scaling = True