Skip to content

Commit 615d63e

Browse files
authored
Merge pull request #32 from Ziqi-Li/np_update
Remove np.float due to deprecation error
2 parents 7b00f42 + 0d20436 commit 615d63e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spglm/iwls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ def iwls(y, x, family, offset, y_fix,
108108
diff = 1.0e6
109109

110110
if ini_betas is None:
111-
betas = np.zeros((x.shape[1], 1), np.float)
111+
betas = np.zeros((x.shape[1], 1))
112112
else:
113113
betas = ini_betas
114114

0 commit comments

Comments
 (0)