Skip to content

Commit 99cac55

Browse files
author
juanitorduz
committed
fix code blocks
1 parent afa2d82 commit 99cac55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc/model/transform/conditioning.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def change_value_transforms(
299299
new_p = untransformed_p['p']
300300
std_q = ((1 / pm.find_hessian(mean_q, vars=[new_p])) ** 0.5)[0]
301301
302-
print(f" Mean, Standard deviation\np {mean_q['p']:.2}, {std_q[0]:.2}")
302+
print(f" Mean, Standard deviation\\np {mean_q['p']:.2}, {std_q[0]:.2}")
303303
# Mean, Standard deviation
304304
# p 0.67, 0.16
305305
@@ -379,7 +379,7 @@ def remove_value_transforms(
379379
with remove_value_transforms(transformed_m) as untransformed_m:
380380
new_p = untransformed_m["p"]
381381
std_q = ((1 / pm.find_hessian(mean_q, vars=[new_p])) ** 0.5)[0]
382-
print(f" Mean, Standard deviation\np {mean_q['p']:.2}, {std_q[0]:.2}")
382+
print(f" Mean, Standard deviation\\np {mean_q['p']:.2}, {std_q[0]:.2}")
383383
384384
# Mean, Standard deviation
385385
# p 0.67, 0.16

0 commit comments

Comments
 (0)