mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
Removed redundant test in prune
This commit is contained in:
parent
b8e5f9dfd4
commit
0ec6f14b24
1 changed files with 0 additions and 2 deletions
|
@ -1142,8 +1142,6 @@ class Corr:
|
|||
raise Exception('Method cannot be applied to one-dimensional correlators.')
|
||||
if basematrix is None:
|
||||
basematrix = self
|
||||
elif basematrix.N == 1:
|
||||
raise Exception('basematrix has to be a correlation matrix but is a one dimensional correlator.')
|
||||
if Ntrunc >= basematrix.N:
|
||||
raise Exception('Cannot truncate using Ntrunc <= %d' % (basematrix.N))
|
||||
if basematrix.N != self.N:
|
||||
|
|
Loading…
Add table
Reference in a new issue