aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2018-08-14 13:10:51 -0500
committertlatorre <tlatorre@uchicago.edu>2018-08-14 13:10:51 -0500
commit43f9687dc18ac5854281e1e820b3fdec89792601 (patch)
treeb80943881ccfb78f447e9d63590dd43eb3d70b94 /src/Makefile
parent8e6895f1e55290fb5ce6b7a6ff77b3819806c51f (diff)
downloadsddm-43f9687dc18ac5854281e1e820b3fdec89792601.tar.gz
sddm-43f9687dc18ac5854281e1e820b3fdec89792601.tar.bz2
sddm-43f9687dc18ac5854281e1e820b3fdec89792601.zip
update fit to use nlopt for minimization
The GSL library only has the Nelder Mead Simplex algorithm for doing multidimensional minimization without gradient information. The nlopt library has lots of different minimization algorithms so it's easier to switch between them to see which one works best.
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 2359e66..ae8807b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,5 +1,5 @@
CFLAGS=-O0 -Wall -g -DSWAP_BYTES
-LDLIBS=-lm -lgsl -lgslcblas
+LDLIBS=-lm -lgsl -lgslcblas -lnlopt_cxx -lstdc++
all: test test-vector test-likelihood fit test-charge