Skip to content

Commit 648e366

Browse files
committed
[RF] Remove confusing RooMinimizer::Strategy enum
The `RooMinimizer::Strategy` enum has been removed. It named the Minuit strategies that are usually referred to just by integers, but caused confusion because it didn't include the unnamed "Strategy 3". Since people usually set the strategy with integer values anyway, it was decided that the simplest solution to avoid the confusion was simply to remove the `RooMinimizer::Strategy` enum.
1 parent 1d1e0ee commit 648e366

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

README/ReleaseNotes/v642/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ maps) will now obtain different, mathematically consistent values.
7979

8080
## RooFit
8181

82+
### Small changes
83+
84+
* The `RooMinimizer::Strategy` enum has been removed. It named the Minuit strategies that are usually referred to just by integers, but caused confusion because it didn't include the unnamed "Strategy 3". Since people usually set the strategy with integer values anyway, it was decided that the simplest solution to avoid the confusion was simply to remove the `RooMinimizer::Strategy` enum
85+
8286
### Removal of the the constant term optimization for legacy test statistic classes
8387

8488
The **RooFit::Optimize()** option (constant term optimization) has been deprecated in ROOT 6.40 its functionality was now removed.

roofit/roofitcore/inc/RooMinimizer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ class RooMinimizer : public TObject {
133133

134134
~RooMinimizer() override;
135135

136-
enum Strategy { Speed = 0, Balance = 1, Robustness = 2 };
137136
enum PrintLevel { None = -1, Reduced = 0, Normal = 1, ExtraForProblem = 2, Maximum = 3 };
138137

139138
// Setters on _theFitter

0 commit comments

Comments
 (0)