Skip to content

Conversation

HDembinski
Copy link
Member

Closes #930

  • Documentation is added to the iminuit.cost module which explains that errordef should not be set manually when the builtin cost functions are used.
  • Minuit now warns the user if Minuit.errordef is set if also the cost function has an errordef attribute, but the value set via Minuit.errordef still overrides the Cost.errordef attribute.

@HDembinski HDembinski merged commit 0963ae0 into develop Aug 30, 2023
@HDembinski HDembinski deleted the warn_on_errordef_override branch August 30, 2023 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Better documentation for errordef

1 participant