Skip to content

Commit 4f19e21

Browse files
increased ocndition nbumbver allowed before warning is thrown in init
1 parent a646d95 commit 4f19e21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

batchglm/utils/linalg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def apply_fun(grouping):
7777
unique_design = dask.array.from_array(unique_design, chunks=unique_design.shape)
7878
else:
7979
unique_design, inverse_idx = np.unique(dmat, axis=0, return_inverse=True)
80-
if unique_design.shape[0] > 100:
80+
if unique_design.shape[0] > 500:
8181
raise ValueError("large least-square problem in init, likely defined a numeric predictor as categorical")
8282

8383
full_rank = constraints.shape[1]

0 commit comments

Comments
 (0)