Skip to content

Commit

Permalink
Fixed bug in len
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffrey-hokanson committed May 28, 2019
1 parent 648f752 commit 228e5e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion psdr/polyridge.py
Expand Up @@ -305,7 +305,7 @@ def __init__(self, degree, subspace_dimension, basis = 'legendre',
self.bound = bound

def __len__(self):
return U.shape[0]
return self.U.shape[0]


def fit(self, X, fX, U0 = None, **kwargs):
Expand Down

0 comments on commit 228e5e6

Please sign in to comment.