Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
dswah committed Sep 22, 2018
1 parent 7c3b8b9 commit be35d42
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pygam/tests/test_GAM_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ def test_n_splines_not_int(self, mcycle_X_y):
"""
used to fail for n_splines of type np.int64, as returned by np.arange
"""
X, y = mcycle_X_y
gam = LinearGAM(n_splines=np.arange(9,10)[0]).fit(X, y)
assert gam._is_fitted

Expand Down

0 comments on commit be35d42

Please sign in to comment.