Skip to content

Commit 32e3d58

Browse files
omazapaguitargeek
authored andcommitted
Scipy: remove method to pass extra options, this is not defined yet
1 parent 96412eb commit 32e3d58

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

math/scipy/inc/Math/ScipyMinimizer.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,6 @@ class ScipyMinimizer : public BasicMinimizer {
147147
virtual bool Minimize() override;
148148

149149
virtual void SetHessianFunction(std::function<bool(const std::vector<double> &, double *)>) override;
150-
template <class T>
151-
void SetExtraOption(const char *key, T value)
152-
{
153-
fExtraOpts.SetValue(key, value);
154-
}
155150

156151
protected:
157152
ClassDef(ScipyMinimizer, 0) //

tutorials/math/fit/scipy.C

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ int scipy()
5050
minimizer.SetMaxFunctionCalls(1000000);
5151
minimizer.SetMaxIterations(100000);
5252
minimizer.SetTolerance(1e-3);
53-
minimizer.SetExtraOption("gtol",1e-3);
5453
ROOT::Math::GradFunctor f(&RosenBrock,&RosenBrockGrad,2);
5554
double step[2] = {0.01,0.01};
5655
double variable[2] = { -1.2,1.0};

0 commit comments

Comments
 (0)