1
0
mirror of https://github.com/aportelli/LatAnalyze.git synced 2024-11-10 00:45:36 +00:00

examples/utils build fix

This commit is contained in:
Antonin Portelli 2014-04-07 15:56:53 +01:00
parent 10ca7d1d29
commit 270186f52e
3 changed files with 10 additions and 10 deletions

View File

@ -25,30 +25,30 @@ noinst_PROGRAMS = \
exCompiledDoubleFunction_SOURCES = exCompiledDoubleFunction.cpp
exCompiledDoubleFunction_CFLAGS = -g -O2
exCompiledDoubleFunction_LDFLAGS = -L../latan/.libs -llatan
exCompiledDoubleFunction_LDFLAGS = -L../lib/.libs -lLatAnalyze
exFit_SOURCES = exFit.cpp
exFit_CFLAGS = -g -O2
exFit_LDFLAGS = -L../latan/.libs -llatan
exFit_LDFLAGS = -L../lib/.libs -lLatAnalyze
exMat_SOURCES = exMat.cpp
exMat_CFLAGS = -g -O2
exMat_LDFLAGS = -L../latan/.libs -llatan
exMat_LDFLAGS = -L../lib/.libs -lLatAnalyze
exMin_SOURCES = exMin.cpp
exMin_CFLAGS = -g -O2
exMin_LDFLAGS = -L../latan/.libs -llatan
exMin_LDFLAGS = -L../lib/.libs -lLatAnalyze
exMathInterpreter_SOURCES = exMathInterpreter.cpp
exMathInterpreter_CFLAGS = -g -O2
exMathInterpreter_LDFLAGS = -L../latan/.libs -llatan
exMathInterpreter_LDFLAGS = -L../lib/.libs -lLatAnalyze
exPlot_SOURCES = exPlot.cpp
exPlot_CFLAGS = -g -O2
exPlot_LDFLAGS = -L../latan/.libs -llatan
exPlot_LDFLAGS = -L../lib/.libs -lLatAnalyze
exRand_SOURCES = exRand.cpp
exRand_CFLAGS = -g -O2
exRand_LDFLAGS = -L../latan/.libs -llatan
exRand_LDFLAGS = -L../lib/.libs -lLatAnalyze
ACLOCAL_AMFLAGS = -I .buildutils/m4

View File

@ -35,7 +35,7 @@ int main(void)
MinuitMinimizer minimizer;
data.fitAllPoints();
p = data.fit(f, minimizer, init, true, Minimizer::Verbosity::Normal);
p = data.fit(minimizer, init, f);
cout << "a= " << p(0) << " b= " << p(1)
<< " chi^2/ndof= " << p.getChi2PerDof() << endl;

View File

@ -20,10 +20,10 @@ noinst_PROGRAMS = \
latan_sample_read_SOURCES = sample_read.cpp
latan_sample_read_CFLAGS = -g -O2
latan_sample_read_LDFLAGS = -L../latan/.libs -llatan
latan_sample_read_LDFLAGS = -L../lib/.libs -lLatAnalyze
latan_resample_SOURCES = resample.cpp
latan_resample_CFLAGS = -g -O2
latan_resample_LDFLAGS = -L../latan/.libs -llatan
latan_resample_LDFLAGS = -L../lib/.libs -lLatAnalyze
ACLOCAL_AMFLAGS = -I .buildutils/m4