Skip to content

Commit

Permalink
Merge pull request #818 from karllark/master
Browse files Browse the repository at this point in the history
update to zero weight model warning info
  • Loading branch information
karllark authored Aug 13, 2024
2 parents 40cb0d6 + def0782 commit a305134
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beast/fitting/fit.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,8 +414,8 @@ def Q_all_memory(
g0_weights = numexpr.evaluate("g0_weights - g0_weights_sum")

if len(g0["weight"]) != len(g0_indxs):
print("orig/g0_indxs", len(g0["weight"]), len(g0_indxs))
warnings.warn("some zero weight models exist")
warnings.warn("orig/g0_indxs", len(g0["weight"]), len(g0_indxs))

# get the model SEDs
if hasattr(g0.seds, "read"):
Expand Down

0 comments on commit a305134

Please sign in to comment.