Skip to content

Commit

Permalink
Trying to fix osx for LF MCMC
Browse files Browse the repository at this point in the history
  • Loading branch information
gvegayon committed Jan 31, 2024
1 parent ceab3e6 commit e0e818e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/00-lfmcmc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ EPIWORLD_TEST_CASE("LFMCMC", "[Basic example]") {

model.set_simulation_fun(simfun);
model.set_summary_fun(summary_fun);
model.set_proposal_fun(make_proposal_norm_reflective<vec_double>(.1, .0000001, 20));
model.set_proposal_fun(make_proposal_norm_reflective<vec_double>(.05, .0000001, 10));
model.set_kernel_fun(kernel_fun_gaussian<vec_double>);

model.run({1,1}, 50000, .5);
model.run({1,1}, 100000, .125);


model.print();
Expand Down
3 changes: 3 additions & 0 deletions tests/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ main.o: main.cpp clean
main.a: main.cpp clean
clang++ -std=c++14 -Wall -Wextra $(OPENMP) -Wpedantic -O2 main.cpp -o main.a

00-lfmcmc.o: 00-lfmcmc.cpp
g++ -std=c++14 -Wall -Wextra -O2 -g $(OPENMP) -pedantic 00-lfmcmc.cpp -o 00-lfmcmc.o

# Compile 02-reproducible-sirconn.cpp
02-reproducible-sirconn.o: 02-reproducible-sirconn.cpp
g++ -std=c++14 -Wall -Wextra -O2 -g $(OPENMP) -pedantic 02-reproducible-sirconn.cpp -o 02-reproducible-sirconn.o
Expand Down

0 comments on commit e0e818e

Please sign in to comment.