Skip to content

Commit d182a84

Browse files
committed
bugfix: size_factors is 2D, adding row indexing
1 parent e8240d8 commit d182a84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

batchglm/models/base_glm/input.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,4 +197,4 @@ def fetch_design_scale(self, idx):
197197
return self.design_scale[idx, :]
198198

199199
def fetch_size_factors(self, idx):
200-
return self.size_factors[idx]
200+
return self.size_factors[idx, :]

0 commit comments

Comments
 (0)