Fix some issues in using power method for EIG
This commit is contained in:
parent
ff600a2e3d
commit
81bd65a001
|
@ -1536,7 +1536,7 @@ class CalculationParameters(BaseParameters):
|
||||||
#assert( p.value in (None, 'Sigma_n', 'G_n') )
|
#assert( p.value in (None, 'Sigma_n', 'G_n') )
|
||||||
assert( p.value in p.allowed_values)
|
assert( p.value in p.allowed_values)
|
||||||
elif (self.global_parameters.spectroscopy == 'EIG'
|
elif (self.global_parameters.spectroscopy == 'EIG'
|
||||||
and self.global_parameters.algorithm == 'power'):
|
and self.global_parameters.algorithm == 'inversion'):
|
||||||
assert( p.value in p.allowed_values)
|
assert( p.value in p.allowed_values)
|
||||||
else:
|
else:
|
||||||
assert( p.value is None )
|
assert( p.value is None )
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue