Skip to content

Commit 607af64

Browse files
kyleabeauchamptwiecki
authored andcommitted
Adjust precision for CPU float32
1 parent 3d4e44c commit 607af64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymc3/tests/test_step.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def check_trace(self, step_method):
139139
trace = sample(n_steps, step=step_method(), random_seed=1)
140140

141141
if not benchmarking:
142-
assert_array_almost_equal(trace.get_values('x'), self.master_samples[step_method], decimal=select_by_precision(float64=6, float32=5))
142+
assert_array_almost_equal(trace.get_values('x'), self.master_samples[step_method], decimal=select_by_precision(float64=6, float32=4))
143143

144144
def check_stat(self, check, trace, name):
145145
for (var, stat, value, bound) in check:

0 commit comments

Comments
 (0)