Skip to content

ProfileLikelihood calculator defines wrongly the tolerance #20894

@vicacuen

Description

@vicacuen

Check duplicate issues.

  • Checked for duplicates

Description

In ProfileLikelihoodCalculator.cxx L167 the tolerance is defined as an int and retrieve from the defined user tolerance. I think it should be a double, as the default tolerance value is 1e-2 and it will be converted to 0 and then an internal protection of the minimiser will put it
back to a different value. This makes user-definition of tolerance difficult.

Reproducer

Run any code that includes ProfileLikelihoodCalculator.

ROOT version

ROOT Version: 6.36.04
Built for linuxx8664gcc on Aug 25 2025, 09:43:06
From tags/v6-36-04@v6-36-04

Installation method

Pre-built binary

Operating system

Linux

Additional context

No response

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions