WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content
Open

test #1141

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions meridian/model/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ def _check_for_negative_effect(
media_effects_dist == constants.MEDIA_EFFECTS_LOG_NORMAL
and np.any(dist.cdf(0)) > 0
):
# comment to trigger change
raise ValueError(
"Media priors must have non-negative support when"
f' `media_effects_dist`="{media_effects_dist}". Found negative effect'
Expand Down