Skip to content
Snippets Groups Projects
Commit b33833a4 authored by dh00601's avatar dh00601
Browse files

tried to fix M&S issue

parent eae45f77
No related branches found
No related tags found
No related merge requests found
Pipeline #32488 passed
...@@ -20,7 +20,6 @@ Tasks: ...@@ -20,7 +20,6 @@ Tasks:
- TODO: make an n-part power law that's general enough to fix the three part and the 4 part - TODO: make an n-part power law that's general enough to fix the three part and the 4 part
""" """
import gc
import math import math
import json import json
...@@ -1379,11 +1378,11 @@ def build_q_table(options, m, p, verbosity=0): ...@@ -1379,11 +1378,11 @@ def build_q_table(options, m, p, verbosity=0):
# with a flat distribution up to 1.0. # with a flat distribution up to 1.0.
if qs[0] == 1.0: if qs[0] == 1.0:
qs[0] = 1.0 - 1e-6 qs[0] = 1.0 - 1e-6
qs[1] = 1 qs.append(1)
qdata[qs[0]] = 1 qdata[qs[0]] = 1
qdata[qs[1]] = 1 qdata[qs[1]] = 1
else: else:
qs[1] = 1.0 qs.append(1)
qdata[qs[1]] = qs[0] qdata[qs[1]] = qs[0]
# We actually should do the extrapolation now. # We actually should do the extrapolation now.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment