Skip to content

Commit

Permalink
Merge pull request #96 from zfit/ikrommyd/0.8.0
Browse files Browse the repository at this point in the history
Finish 0.8.0
  • Loading branch information
jonas-eschle authored Nov 7, 2024
2 parents 9096485 + 52af2cd commit ca66930
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 24 deletions.
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ repos:
rev: '0.50'
hooks:
- id: check-manifest
args:
- --update
args: [--no-build-isolation]
additional_dependencies: ['hatch-vcs', 'hatchling>=1.17.1']
- repo: https://github.com/sondrelg/pep585-upgrade
rev: v1.0
hooks:
Expand Down
20 changes: 1 addition & 19 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Changelog
*********

Develop
0.8.0 (7 Nov 2024)
========================

Major Features and Improvements
Expand All @@ -12,24 +12,6 @@ Major Features and Improvements
- `pyhf <https://pyhf.readthedocs.io/en/stable/>`_ support for loss functions. Minimizer can directly minimize the loss function of a model.
- `ComPWA <https://compwa.github.io/>`_ support for loss functions and pdf. Minimizer can directly minimize the loss function of a model.

Breaking changes
------------------

Deprecations
-------------

Bug fixes and small changes
---------------------------

Experimental
------------

Requirement changes
-------------------

Thanks
------

0.7.0 (13 Apr 2024)
===================

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["hatchling", "hatch-vcs"]
requires = ["hatchling>=1.17.1", "hatch-vcs"]
build-backend = "hatchling.build"


Expand Down
4 changes: 2 additions & 2 deletions tests/tfpwa/test_basic_example_tfpwa.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,5 @@ def test_example1_tfpwa():
print(result)

assert result.converged
tol = 0.05 # 10% of one sigma
assert result.fmin - tol<= fit_result.min_nll # check if the result is better at least
tol = 3.0
assert result.fmin == pytest.approx(fit_result.min_nll, abs=tol)

0 comments on commit ca66930

Please sign in to comment.