diff --git a/CMakeLists.txt b/CMakeLists.txt index 7df99da..28fb22a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,7 +10,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}") set(Boost_USE_STATIC_LIBS ON) set(Boost_USE_MULTITHREADED ON) set(Boost_USE_STATIC_RUNTIME OFF) -find_package( Boost 1.49.0 COMPONENTS program_options ) +find_package( Boost 1.46.0 COMPONENTS program_options ) #find the Qt4 find_package(Qt4 REQUIRED) diff --git a/montecarlo.cpp b/montecarlo.cpp index edb37dd..0690d20 100644 --- a/montecarlo.cpp +++ b/montecarlo.cpp @@ -45,8 +45,8 @@ void mcSampleNA(bsVector* samples, int N, bsVector k, ptype NAin, ptype NAout) ptype z, phi, theta; for(int i=0; i filenames = vm["sphere-file"].as< vector >(); //load each file - for(int iS=0; iS newM(SCOPE->nf.lambda, matVec[i], matVec[i+1]); SCOPE->nf.mVector.push_back(newM); @@ -350,7 +350,7 @@ static void lMaterials(po::variables_map vm) if(vm.count("material-file")) { vector filenames = vm["material-file"].as< vector >(); - for(int i=0; i