ValueSeriesGenerator: fix Mirrored not working when Step is negative

This commit is contained in:
DeepSOIC 2018-01-18 02:32:54 +03:00
parent 3f8d690b61
commit d2ef758672

View File

@ -229,7 +229,7 @@ class ValueSeriesGenerator:
new_list = []
for v in list_evenDistrib:
new_list.append(v)
if v > 1e-12:
if abs(v) > 1e-12:
new_list.append(-v)
list_evenDistrib = new_list