Skip to content

Commit

Permalink
Update stats_scipy_get_distributions.py
Browse files Browse the repository at this point in the history
"print x" no longer works in Python 3, in Python 3 it is "print(x)".
I haven't tested the script to work with Python 3, right now my concern is just getting it to parse.
  • Loading branch information
patrick-nicodemus authored May 31, 2024
1 parent 06943b0 commit bc67c0b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/stats_scipy_get_distributions.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def show_dist(d):
pass
result +="|] \n"
result +=");\n"
print result
print(result)
pass

distributions = [
Expand Down Expand Up @@ -474,10 +474,10 @@ def show_dist(d):
chi2(df=30.),
]

print "module M = Owl_stats"
print "let cdf_approximations = M.["
print("module M = Owl_stats")
print("let cdf_approximations = M.[")
for d in distributions:
show_dist(d)
pass
print "]"
print("]")

0 comments on commit bc67c0b

Please sign in to comment.