Skip to content

Commit

Permalink
eloreta fix with Solver class
Browse files Browse the repository at this point in the history
  • Loading branch information
anujanegi committed Jun 22, 2023
1 parent 0af5e12 commit 4885352
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bsi_zoo/estimators.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,8 @@ def gprime(w):
return x


def eloreta(y, L, alpha=1 / 9, cov=1, n_orient=1):
def eloreta(L, y, cov=1, alpha=1 / 9, n_orient=1):
# def eloreta(L, y cov=1, alpha=1/9, n_orient=1):
if isinstance(cov, (float, int)):
cov = alpha * np.eye(L.shape[0])
# Take care of whitening
Expand Down

0 comments on commit 4885352

Please sign in to comment.