Skip to content
Snippets Groups Projects
Commit f4588a08 authored by Roland Haas's avatar Roland Haas
Browse files

POWER: fix uss of string tolower method

parent 4ee24b28
No related branches found
No related tags found
No related merge requests found
......@@ -230,7 +230,7 @@ def angular_momentum(x, q, m, chi1, chi2, LInitNR):
# Convert Cacus truth values to python's
def to_bool(s):
s = tolower(s)
s = s.lower()
if s in ["true", "yes", "1"]:
return True
elif s in ["false", "no", "0"]:
......
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