Skip to content

Commit

Permalink
Merge pull request #32 from Ziqi-Li/np_update
Browse files Browse the repository at this point in the history
Remove np.float due to deprecation error
  • Loading branch information
Ziqi-Li authored Jan 10, 2023
2 parents 7b00f42 + 0d20436 commit 615d63e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spglm/iwls.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def iwls(y, x, family, offset, y_fix,
diff = 1.0e6

if ini_betas is None:
betas = np.zeros((x.shape[1], 1), np.float)
betas = np.zeros((x.shape[1], 1))
else:
betas = ini_betas

Expand Down

0 comments on commit 615d63e

Please sign in to comment.