From ff0a060590c66c66a604cc28aad29bc2827d2ca7 Mon Sep 17 00:00:00 2001 From: iakoviid Date: Sat, 10 Sep 2022 18:36:01 +0300 Subject: [PATCH] minor changes --- include/preprocess/crhmc/crhmc_problem.h | 2 +- include/random_walks/crhmc/crhmc_walk.hpp | 4 ++-- test/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/preprocess/crhmc/crhmc_problem.h b/include/preprocess/crhmc/crhmc_problem.h index 6c0be75cc..871bbb0ba 100644 --- a/include/preprocess/crhmc/crhmc_problem.h +++ b/include/preprocess/crhmc/crhmc_problem.h @@ -569,7 +569,7 @@ class crhmc_problem { #ifdef TIME_KEEPING template void print_preparation_time(StreamType& stream){ - stream << "---Preparation Timing Informationn"<< std::endl; + stream << "---Preparation Timing Information"<< std::endl; stream << "Rescale completed in time, "; stream << rescale_duration.count() << " secs " << std::endl; stream << "Split dense columns completed in time, "; diff --git a/include/random_walks/crhmc/crhmc_walk.hpp b/include/random_walks/crhmc/crhmc_walk.hpp index 5e34c87b4..8fa533ea3 100644 --- a/include/random_walks/crhmc/crhmc_walk.hpp +++ b/include/random_walks/crhmc/crhmc_walk.hpp @@ -137,7 +137,7 @@ struct CRHMCWalk { inline MT getPoints() { return (P.T * x).colwise() + P.y; } // Returns the current point in the tranformed in the original space inline Point getPoint() { return Point(P.T * x.col(0) + P.y); } - + inline MT masked_choose(MT &x,MT &x_tilde,IVT &accept){ return accept.transpose().replicate(x.rows(), 1).select(x_tilde, x); } @@ -203,7 +203,7 @@ struct CRHMCWalk { } template void print_timing_information(StreamType& stream) { - stream << "---Sampling Timing Informationn"<< std::endl; + stream << "---Sampling Timing Information"<< std::endl; double DU_time = solver->DU_duration.count(); double DK_time = solver->approxDK_duration.count(); double H_time = H_duration.count(); diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index a71f34710..3cad07756 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -377,7 +377,7 @@ else () TARGET_LINK_LIBRARIES(benchmarks_crhmc_sampling ${LP_SOLVE} ${MKL_LINK} ${QD_LIB} coverage_config) TARGET_LINK_LIBRARIES(benchmarks_crhmc ${LP_SOLVE} ${MKL_LINK} ${QD_LIB} coverage_config) TARGET_LINK_LIBRARIES(simple_mc_integration ${LP_SOLVE} ${MKL_LINK} coverage_config) - TARGET_LINK_LIBRARIES(ode_solvers_test ${LP_SOLVE} ${IFOPT} ${IFOPT_IPOPT} ${PTHREAD} ${GMP} ${MPSOLVE} ${FFTW3} ${MKL_LINK} QD_LIB coverage_config) + TARGET_LINK_LIBRARIES(ode_solvers_test ${LP_SOLVE} ${IFOPT} ${IFOPT_IPOPT} ${PTHREAD} ${GMP} ${MPSOLVE} ${FFTW3} ${MKL_LINK} ${QD_LIB} coverage_config) TARGET_LINK_LIBRARIES(boundary_oracles_test ${LP_SOLVE} ${IFOPT} ${IFOPT_IPOPT} ${PTHREAD} ${GMP} ${MPSOLVE} ${FFTW3} ${MKL_LINK} coverage_config) TARGET_LINK_LIBRARIES(root_finders_test ${PTHREAD} ${GMP} ${MPSOLVE} ${FFTW3} ${MKL_LINK} coverage_config) TARGET_LINK_LIBRARIES(crhmc_polytope_preparation_test ${PTHREAD} ${GMP} ${MPSOLVE} ${FFTW3} ${MKL_LINK} ${QD_LIB} coverage_config)