Skip to content

Commit

Permalink
Merge pull request #9 from SpeysideHEP/bugfix
Browse files Browse the repository at this point in the history
Issue during signal injection
  • Loading branch information
jackaraz authored Jan 18, 2024
2 parents 8bd633d + c5fccff commit 2605b25
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion docs/releases/changelog-v0.1.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Release notes v0.1.1
# Release notes v0.1

## New features since last release

Expand All @@ -20,6 +20,9 @@

## Bug fixes

* Bugfix in `simplify` module, where signal injector was not initiating properly.
([#9](https://github.com/SpeysideHEP/spey-pyhf/pull/9))

* Bugfix in apriori likelihood computation for full likelihoods mentioned in
[#5](https://github.com/SpeysideHEP/spey-pyhf/issues/5).
([#2](https://github.com/SpeysideHEP/spey-pyhf/pull/2))
Expand Down
2 changes: 1 addition & 1 deletion src/spey_pyhf/_version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""Version of the spey - pyhf plugin"""

__version__ = "0.1.2"
__version__ = "0.1.3"
2 changes: 1 addition & 1 deletion src/spey_pyhf/simplify.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def __call__(
for channel in interpreter.get_channels(control_region_indices):
interpreter.inject_signal(
channel,
[0.0] * signal_patch_map[channel]["data"],
[0.0] * len(signal_patch_map[channel]["data"]),
signal_patch_map[channel]["modifiers"]
if include_modifiers_in_control_model
else None,
Expand Down

0 comments on commit 2605b25

Please sign in to comment.