Check parameter
This commit is contained in:
parent
da01fc87b6
commit
0d3a4b6195
@ -116,6 +116,8 @@ cdef class CosmologyPower:
|
|||||||
f = POWER_SUGIYAMA
|
f = POWER_SUGIYAMA
|
||||||
elif funcname=='HU_WIGGLES_ORIGINAL':
|
elif funcname=='HU_WIGGLES_ORIGINAL':
|
||||||
f = HU_WIGGLES_ORIGINAL
|
f = HU_WIGGLES_ORIGINAL
|
||||||
|
else:
|
||||||
|
raise ValueError("Unknown function name " + funcname)
|
||||||
|
|
||||||
self.power.setFunction(f)
|
self.power.setFunction(f)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user