Check parameter
This commit is contained in:
parent
da01fc87b6
commit
0d3a4b6195
1 changed files with 2 additions and 0 deletions
|
@ -116,6 +116,8 @@ cdef class CosmologyPower:
|
|||
f = POWER_SUGIYAMA
|
||||
elif funcname=='HU_WIGGLES_ORIGINAL':
|
||||
f = HU_WIGGLES_ORIGINAL
|
||||
else:
|
||||
raise ValueError("Unknown function name " + funcname)
|
||||
|
||||
self.power.setFunction(f)
|
||||
|
||||
|
|
Loading…
Reference in a new issue