Skip to content

Commit

Permalink
fixed create_model to attach data and infer shape
Browse files Browse the repository at this point in the history
  • Loading branch information
n-gilbertson committed Sep 6, 2024
1 parent 6afd18c commit 5ed110b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mrtool/cov_selection/covfinder.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@ def create_model(
model = MRBRT(
self.data, cov_models=cov_models, inlier_pct=self.inlier_pct
)
model.attach_data()
model._infer_shape()
return model

def fit_gaussian_model(self, covs: list[str]) -> MRBRT:
Expand Down

0 comments on commit 5ed110b

Please sign in to comment.