* installing *source* package ‘volesti’ ... ** this is package ‘volesti’ version ‘1.1.2-9’ ** package ‘volesti’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 17.0.0 (clang-1700.6.3.2)’ using SDK: ‘MacOSX26.2.sdk’ clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -Iexternal -Iexternal/lpsolve/headers/run_headers -Iexternal/minimum_ellipsoid -Iinclude -Iinclude/convex_bodies/spectrahedra -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/BH/include' -isystem /opt/R/arm64/include -DBOOST_NO_AUTO_PTR -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:26: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from RcppExports.cpp:4: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ 8 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -Iexternal -Iexternal/lpsolve/headers/run_headers -Iexternal/minimum_ellipsoid -Iinclude -Iinclude/convex_bodies/spectrahedra -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/BH/include' -isystem /opt/R/arm64/include -DBOOST_NO_AUTO_PTR -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c copula.cpp -o copula.o In file included from copula.cpp:10: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from copula.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from copula.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from copula.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from copula.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from copula.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from copula.cpp:15: In file included from /Users/ripley/R/Library/BH/include/boost/random.hpp:36: In file included from /Users/ripley/R/Library/BH/include/boost/random/additive_combine.hpp:22: In file included from /Users/ripley/R/Library/BH/include/boost/config.hpp:48: /Users/ripley/R/Library/BH/include/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from copula.cpp:17: include/sampling/simplex.hpp:39:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 39 | unsigned rng_seed2 = seed; | ~~~~~~~~~ ^~~~ include/sampling/simplex.hpp:36:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 36 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ include/sampling/simplex.hpp:183:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 183 | unsigned rng_seed2 = seed; | ~~~~~~~~~ ^~~~ include/sampling/simplex.hpp:180:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 180 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ include/sampling/simplex.hpp:233:18: warning: unused variable 'n' [-Wunused-variable] 233 | unsigned int n=V.rows(),j,i,k,x_rand,M=2147483647,pr,divisors,pointer; // M is the largest possible integer | ^ include/sampling/simplex.hpp:251:73: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 251 | unsigned seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ copula.cpp:81:63: warning: unused variable 'i' [-Wunused-variable] 81 | unsigned int dim = Rcpp::as >(r1).size(), i, j; | ^ copula.cpp:81:66: warning: unused variable 'j' [-Wunused-variable] 81 | unsigned int dim = Rcpp::as >(r1).size(), i, j; | ^ copula.cpp:81:55: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 81 | unsigned int dim = Rcpp::as >(r1).size(), i, j; | ~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from copula.cpp:17: include/sampling/simplex.hpp:180:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 180 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ include/volume/copulas.h:41:5: note: in instantiation of function template specialization 'Sam_Canon_Unit, point>>' requested here 41 | Sam_Canon_Unit (dim, num, points, seed); | ^ copula.cpp:87:21: note: in instantiation of function template specialization 'twoParHypFam>, boost::random::mersenne_twister_engine, double>' requested here 87 | StdCopula = twoParHypFam(dim, numpoints, num_slices, hyp1, hyp2, seed3); | ^ In file included from copula.cpp:17: include/sampling/simplex.hpp:183:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 183 | unsigned rng_seed2 = seed; | ~~~~~~~~~ ^~~~ In file included from copula.cpp:13: include/convex_bodies/ellipsoids.h:32:19: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 32 | dim = Gin.size(); | ~ ~~~~^~~~~~ copula.cpp:98:16: note: in instantiation of member function 'copula_ellipsoid>, Eigen::Matrix, Eigen::Matrix>::copula_ellipsoid' requested here 98 | CopEll Ell(Gin); | ^ In file included from copula.cpp:10: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:41: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:76: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ copula.cpp:108:19: note: in instantiation of member function 'Rcpp::Matrix<14>::operator()' requested here 108 | copula(i,j) = StdCopula[i][j]; | ^ In file included from copula.cpp:10: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:41: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp/Vector.h:57: /Users/ripley/R/Library/Rcpp/include/Rcpp/vector/Matrix.h:138:73: warning: implicit conversion loses integer precision: 'const size_t' (aka 'const unsigned long') to 'int' [-Wshorten-64-to-32] 138 | return static_cast< Vector* >( this )->operator[]( offset( i, j ) ) ; | ~~~~~~ ^ 23 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -Iexternal -Iexternal/lpsolve/headers/run_headers -Iexternal/minimum_ellipsoid -Iinclude -Iinclude/convex_bodies/spectrahedra -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/BH/include' -isystem /opt/R/arm64/include -DBOOST_NO_AUTO_PTR -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c direct_sampling.cpp -o direct_sampling.o In file included from direct_sampling.cpp:10: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from direct_sampling.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from direct_sampling.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from direct_sampling.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from direct_sampling.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from direct_sampling.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from direct_sampling.cpp:14: In file included from /Users/ripley/R/Library/BH/include/boost/random.hpp:36: In file included from /Users/ripley/R/Library/BH/include/boost/random/additive_combine.hpp:22: In file included from /Users/ripley/R/Library/BH/include/boost/config.hpp:48: /Users/ripley/R/Library/BH/include/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from direct_sampling.cpp:18: In file included from include/volume/volume_sequence_of_balls.hpp:26: include/convex_bodies/hpolytope.h:236:22: warning: unused variable 'j' [-Wunused-variable] 236 | unsigned int j; | ^ include/convex_bodies/hpolytope.h:315:22: warning: unused variable 'j' [-Wunused-variable] 315 | unsigned int j; | ^ In file included from direct_sampling.cpp:18: In file included from include/volume/volume_sequence_of_balls.hpp:27: include/convex_bodies/vpolytope.h:411:22: warning: unused variable 'j' [-Wunused-variable] 411 | unsigned int j; | ^ In file included from direct_sampling.cpp:18: In file included from include/volume/volume_sequence_of_balls.hpp:28: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:52:10: warning: unused variable 'infinite' [-Wunused-variable] 52 | REAL infinite = get_infinite(lp); /* will return 1.0e30 */ | ^~~~~~~~ In file included from direct_sampling.cpp:18: include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from direct_sampling.cpp:19: include/sampling/simplex.hpp:39:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 39 | unsigned rng_seed2 = seed; | ~~~~~~~~~ ^~~~ include/sampling/simplex.hpp:36:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 36 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ include/sampling/simplex.hpp:183:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 183 | unsigned rng_seed2 = seed; | ~~~~~~~~~ ^~~~ include/sampling/simplex.hpp:180:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 180 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ include/sampling/simplex.hpp:233:18: warning: unused variable 'n' [-Wunused-variable] 233 | unsigned int n=V.rows(),j,i,k,x_rand,M=2147483647,pr,divisors,pointer; // M is the largest possible integer | ^ include/sampling/simplex.hpp:251:73: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 251 | unsigned seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ direct_sampling.cpp:68:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 68 | unsigned seed2 = Rcpp::as(body["seed"]); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from direct_sampling.cpp:18: In file included from include/volume/volume_sequence_of_balls.hpp:27: In file included from include/convex_bodies/vpolytope.h:19: external/minimum_ellipsoid/khach.h:61:15: warning: implicit conversion loses integer precision: 'typename matrix::size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 61 | int res = lu_factorize(A,pm); | ~~~ ^~~~~~~~~~~~~~~~~~ external/minimum_ellipsoid/khach.h:72:14: note: in instantiation of function template specialization 'InvertMatrix' requested here 72 | bool res=InvertMatrix(Lambdap, LpInv); | ^ In file included from direct_sampling.cpp:18: In file included from include/volume/volume_sequence_of_balls.hpp:25: include/generators/boost_random_number_generator.hpp:26:74: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'const unsigned int' [-Wshorten-64-to-32] 26 | : _rng(std::chrono::system_clock::now().time_since_epoch().count()) | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ direct_sampling.cpp:66:13: note: in instantiation of member function 'BoostRandomNumberGenerator, double>::BoostRandomNumberGenerator' requested here 66 | RNGType rng(dim); | ^ In file included from direct_sampling.cpp:19: include/sampling/simplex.hpp:36:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 36 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ direct_sampling.cpp:101:9: note: in instantiation of function template specialization 'Sam_Unit, point>>' requested here 101 | Sam_Unit(dim, numpoints, randPoints, seed3); | ^ In file included from direct_sampling.cpp:19: include/sampling/simplex.hpp:39:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 39 | unsigned rng_seed2 = seed; | ~~~~~~~~~ ^~~~ include/sampling/simplex.hpp:180:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 180 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ direct_sampling.cpp:105:9: note: in instantiation of function template specialization 'Sam_Canon_Unit, point>>' requested here 105 | Sam_Canon_Unit(dim, numpoints, randPoints, seed3); | ^ In file included from direct_sampling.cpp:19: include/sampling/simplex.hpp:183:30: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 183 | unsigned rng_seed2 = seed; | ~~~~~~~~~ ^~~~ In file included from direct_sampling.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:93:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_plain_dense>' requested here 93 | return eigen_wrap_plain_dense( obj, typename is_dense::type() ) ; | ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:110:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_is_plain>' requested here 110 | return eigen_wrap_is_plain( obj, | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:776:39: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap>' requested here 776 | return ::Rcpp::RcppEigen::eigen_wrap(object); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:787:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_eigen>' requested here 787 | return wrap_dispatch_eigen(object, typename traits::is_eigen_base::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:807:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_unknown_importable>' requested here 807 | return wrap_dispatch_unknown_importable(object, typename ::Rcpp::traits::is_importer::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap_end.h:30:25: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch>' requested here 30 | return internal::wrap_dispatch( object, typename ::Rcpp::traits::wrap_type_traits::wrap_category() ) ; | ^ direct_sampling.cpp:119:18: note: in instantiation of function template specialization 'Rcpp::wrap>' requested here 119 | return Rcpp::wrap(RetMat); | ^ In file included from direct_sampling.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ direct_sampling.cpp:52:50: warning: unused typedef 'VT' [-Wunused-local-typedef] 52 | typedef Eigen::Matrix VT; | ^ 30 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -Iexternal -Iexternal/lpsolve/headers/run_headers -Iexternal/minimum_ellipsoid -Iinclude -Iinclude/convex_bodies/spectrahedra -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/BH/include' -isystem /opt/R/arm64/include -DBOOST_NO_AUTO_PTR -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c exact_vol.cpp -o exact_vol.o In file included from exact_vol.cpp:8: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from exact_vol.cpp:9: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from exact_vol.cpp:9: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from exact_vol.cpp:9: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from exact_vol.cpp:9: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from exact_vol.cpp:9: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from exact_vol.cpp:11: In file included from /Users/ripley/R/Library/BH/include/boost/random.hpp:36: In file included from /Users/ripley/R/Library/BH/include/boost/random/additive_combine.hpp:22: In file included from /Users/ripley/R/Library/BH/include/boost/config.hpp:48: /Users/ripley/R/Library/BH/include/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from exact_vol.cpp:16: include/convex_bodies/hpolytope.h:236:22: warning: unused variable 'j' [-Wunused-variable] 236 | unsigned int j; | ^ include/convex_bodies/hpolytope.h:315:22: warning: unused variable 'j' [-Wunused-variable] 315 | unsigned int j; | ^ In file included from exact_vol.cpp:17: include/convex_bodies/vpolytope.h:411:22: warning: unused variable 'j' [-Wunused-variable] 411 | unsigned int j; | ^ In file included from exact_vol.cpp:18: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:52:10: warning: unused variable 'infinite' [-Wunused-variable] 52 | REAL infinite = get_infinite(lp); /* will return 1.0e30 */ | ^~~~~~~~ exact_vol.cpp:71:41: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 71 | dim = Rcpp::as(P.slot("A")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ exact_vol.cpp:74:41: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 74 | dim = Rcpp::as(P.slot("V")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ exact_vol.cpp:77:41: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 77 | dim = Rcpp::as(P.slot("G")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ exact_vol.cpp:80:42: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 80 | dim = Rcpp::as(P.slot("V1")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from exact_vol.cpp:17: In file included from include/convex_bodies/vpolytope.h:19: external/minimum_ellipsoid/khach.h:61:15: warning: implicit conversion loses integer precision: 'typename matrix::size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 61 | int res = lu_factorize(A,pm); | ~~~ ^~~~~~~~~~~~~~~~~~ external/minimum_ellipsoid/khach.h:72:14: note: in instantiation of function template specialization 'InvertMatrix' requested here 72 | bool res=InvertMatrix(Lambdap, LpInv); | ^ In file included from exact_vol.cpp:18: include/convex_bodies/zpolytope.h:69:19: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int k = G.cols(); | ~ ~~^~~~~~ include/convex_bodies/zpolytope.h:192:9: note: in instantiation of member function 'Zonotope>>::compute_eigenvectors' requested here 192 | compute_eigenvectors(V.transpose()); | ^ exact_vol.cpp:110:12: note: in instantiation of member function 'Zonotope>>::init' requested here 110 | ZP.init(dim, Rcpp::as(P.slot("G")), | ^ In file included from exact_vol.cpp:18: include/convex_bodies/zpolytope.h:138:18: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 138 | return V.rows(); | ~~~~~~ ~~^~~~~~ include/volume/exact_vols.h:51:41: note: in instantiation of member function 'Zonotope>>::num_of_generators' requested here 51 | int n = ZP.dimension(), col, k = ZP.num_of_generators(); | ^ exact_vol.cpp:112:15: note: in instantiation of function template specialization 'exact_zonotope_vol>>>' requested here 112 | vol = exact_zonotope_vol(ZP); | ^ clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -Iexternal -Iexternal/lpsolve/headers/run_headers -Iexternal/minimum_ellipsoid -Iinclude -Iinclude/convex_bodies/spectrahedra -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/BH/include' -isystem /opt/R/arm64/include -DBOOST_NO_AUTO_PTR -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c frustum_of_simplex.cpp -o frustum_of_simplex.o In file included from frustum_of_simplex.cpp:7: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from frustum_of_simplex.cpp:8: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from frustum_of_simplex.cpp:8: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from frustum_of_simplex.cpp:8: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from frustum_of_simplex.cpp:8: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from frustum_of_simplex.cpp:8: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ frustum_of_simplex.cpp:35:26: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 35 | unsigned int dim = a.size(); | ~~~ ~~^~~~~~ 9 warnings generated. 20 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -Iexternal -Iexternal/lpsolve/headers/run_headers -Iexternal/minimum_ellipsoid -Iinclude -Iinclude/convex_bodies/spectrahedra -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/BH/include' -isystem /opt/R/arm64/include -DBOOST_NO_AUTO_PTR -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c inner_ball.cpp -o inner_ball.o In file included from inner_ball.cpp:6: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from inner_ball.cpp:7: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from inner_ball.cpp:7: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from inner_ball.cpp:7: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from inner_ball.cpp:7: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from inner_ball.cpp:7: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from inner_ball.cpp:10: In file included from /Users/ripley/R/Library/BH/include/boost/random.hpp:36: In file included from /Users/ripley/R/Library/BH/include/boost/random/additive_combine.hpp:22: In file included from /Users/ripley/R/Library/BH/include/boost/config.hpp:48: /Users/ripley/R/Library/BH/include/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:26: include/convex_bodies/hpolytope.h:236:22: warning: unused variable 'j' [-Wunused-variable] 236 | unsigned int j; | ^ include/convex_bodies/hpolytope.h:315:22: warning: unused variable 'j' [-Wunused-variable] 315 | unsigned int j; | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:27: include/convex_bodies/vpolytope.h:411:22: warning: unused variable 'j' [-Wunused-variable] 411 | unsigned int j; | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:28: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:52:10: warning: unused variable 'infinite' [-Wunused-variable] 52 | REAL infinite = get_infinite(lp); /* will return 1.0e30 */ | ^~~~~~~~ In file included from inner_ball.cpp:14: include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ inner_ball.cpp:52:39: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 52 | n = Rcpp::as(P.slot("A")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ inner_ball.cpp:55:39: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 55 | n = Rcpp::as(P.slot("V")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ inner_ball.cpp:58:39: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 58 | n = Rcpp::as(P.slot("G")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ inner_ball.cpp:61:40: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 61 | n = Rcpp::as(P.slot("V1")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:27: In file included from include/convex_bodies/vpolytope.h:19: external/minimum_ellipsoid/khach.h:61:15: warning: implicit conversion loses integer precision: 'typename matrix::size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 61 | int res = lu_factorize(A,pm); | ~~~ ^~~~~~~~~~~~~~~~~~ external/minimum_ellipsoid/khach.h:72:14: note: in instantiation of function template specialization 'InvertMatrix' requested here 72 | bool res=InvertMatrix(Lambdap, LpInv); | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:26: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:40:15: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 40 | int d = A.cols(); | ~ ~~^~~~~~ include/convex_bodies/hpolytope.h:52:23: note: in instantiation of function template specialization 'ComputeChebychevBall>, Eigen::Matrix, Eigen::Matrix>' requested here 52 | _inner_ball = ComputeChebychevBall(A, b); | ^ inner_ball.cpp:73:28: note: in instantiation of member function 'HPolytope>>::ComputeInnerBall' requested here 73 | InnerBall = HP.ComputeInnerBall(); | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:26: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:41:26: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 41 | int Ncol=d+1, j, m=A.rows(), i; | ~ ~~^~~~~~ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:27: include/convex_bodies/vpolytope.h:413:44: warning: unused variable 'pointIt' [-Wunused-variable] 413 | typename std::vector::iterator pointIt; | ^~~~~~~ include/convex_bodies/vpolytope.h:267:14: note: in instantiation of function template specialization 'VPolytope>>::get_points_for_rounding>>>' requested here 267 | if (!get_points_for_rounding(randPoints)) { | ^ inner_ball.cpp:80:28: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 80 | InnerBall = VP.ComputeInnerBall(); | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:27: include/convex_bodies/vpolytope.h:73:18: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 73 | return V.rows(); | ~~~~~~ ~~^~~~~~ include/convex_bodies/vpolytope.h:408:13: note: in instantiation of member function 'VPolytope>>::num_of_vertices' requested here 408 | if (num_of_vertices()>20*_d) { | ^ include/convex_bodies/vpolytope.h:267:14: note: in instantiation of function template specialization 'VPolytope>>::get_points_for_rounding>>>' requested here 267 | if (!get_points_for_rounding(randPoints)) { | ^ inner_ball.cpp:80:28: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 80 | InnerBall = VP.ComputeInnerBall(); | ^ In file included from inner_ball.cpp:9: In file included from include/cartesian_geom/cartesian_kernel.h:25: include/cartesian_geom/point.h:48:24: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 48 | d = coeffs.rows(); | ~ ~~~~~~~^~~~~~ include/convex_bodies/vpolytope.h:415:19: note: in instantiation of member function 'point>::point' requested here 415 | Point p(V.row(i)); | ^ include/convex_bodies/vpolytope.h:267:14: note: in instantiation of function template specialization 'VPolytope>>::get_points_for_rounding>>>' requested here 267 | if (!get_points_for_rounding(randPoints)) { | ^ inner_ball.cpp:80:28: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 80 | InnerBall = VP.ComputeInnerBall(); | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:27: In file included from include/convex_bodies/vpolytope.h:18: include/lp_oracles/vpolyoracles.h:311:8: warning: unused variable 'res' [-Wunused-variable] 311 | NT res; | ^~~ include/convex_bodies/vpolytope.h:297:19: note: in instantiation of function template specialization 'intersect_double_line_Vpoly, point>>' requested here 297 | res = intersect_double_line_Vpoly(V, center, v, row, colno); | ^ inner_ball.cpp:80:28: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 80 | InnerBall = VP.ComputeInnerBall(); | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:27: In file included from include/convex_bodies/vpolytope.h:18: include/lp_oracles/vpolyoracles.h:308:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 308 | int m=V.rows(); | ~ ~~^~~~~~ include/lp_oracles/vpolyoracles.h:176:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 176 | int m=V.rows(); | ~ ~~^~~~~~ include/convex_bodies/zpolytope.h:260:24: note: in instantiation of function template specialization 'intersect_line_Vpoly, point>>' requested here 260 | min_plus = intersect_line_Vpoly(V, center, v, conv_comb, | ^ inner_ball.cpp:86:28: note: in instantiation of member function 'Zonotope>>::ComputeInnerBall' requested here 86 | InnerBall = ZP.ComputeInnerBall(); | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:28: include/convex_bodies/zpolytope.h:69:19: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int k = G.cols(); | ~ ~~^~~~~~ include/convex_bodies/zpolytope.h:192:9: note: in instantiation of member function 'Zonotope>>::compute_eigenvectors' requested here 192 | compute_eigenvectors(V.transpose()); | ^ inner_ball.cpp:87:16: note: in instantiation of member function 'Zonotope>>::init' requested here 87 | ZP.init(n, Rcpp::as(P.slot("G")), VT::Ones(Rcpp::as(P.slot("G")).rows())); | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:32: include/convex_bodies/vpolyintersectvpoly.h:55:68: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 55 | seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ inner_ball.cpp:98:19: note: in instantiation of member function 'IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>::init' requested here 98 | VPcVP.init(VP1, VP2); | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:32: include/convex_bodies/vpolyintersectvpoly.h:125:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 125 | int k = P1.get_mat().rows() + P2.get_mat().rows(); | ~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ inner_ball.cpp:99:24: note: in instantiation of member function 'IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>::is_feasible' requested here 99 | if (!VPcVP.is_feasible()) throw Rcpp::exception("Empty set!"); | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:25: include/generators/boost_random_number_generator.hpp:26:74: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'const unsigned int' [-Wshorten-64-to-32] 26 | : _rng(std::chrono::system_clock::now().time_since_epoch().count()) | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ include/convex_bodies/vpolyintersectvpoly.h:126:17: note: in instantiation of member function 'BoostRandomNumberGenerator, double>::BoostRandomNumberGenerator' requested here 126 | RNGType rng(k); | ^ inner_ball.cpp:99:24: note: in instantiation of member function 'IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>::is_feasible' requested here 99 | if (!VPcVP.is_feasible()) throw Rcpp::exception("Empty set!"); | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:26: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:164:25: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 164 | unsigned int d = V1.cols(); | ~ ~~~^~~~~~ include/convex_bodies/vpolyintersectvpoly.h:128:9: note: in instantiation of function template specialization 'PointInIntersection, Eigen::Matrix, point>>' requested here 128 | PointInIntersection(P1.get_mat(), P2.get_mat(), | ^ inner_ball.cpp:99:24: note: in instantiation of member function 'IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>::is_feasible' requested here 99 | if (!VPcVP.is_feasible()) throw Rcpp::exception("Empty set!"); | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:26: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:165:26: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 165 | unsigned int k1 = V1.rows(); | ~~ ~~~^~~~~~ include/lp_oracles/solve_lp.h:166:26: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 166 | unsigned int k2 = V2.rows(); | ~~ ~~~^~~~~~ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:32: include/convex_bodies/vpolyintersectvpoly.h:154:22: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'Point' (aka 'point>') and 'point>') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator] 154 | if (p==(*rvert)) { | ~^ ~~~~~~~~ inner_ball.cpp:100:31: note: in instantiation of member function 'IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>::ComputeInnerBall' requested here 100 | InnerBall = VPcVP.ComputeInnerBall(); | ^ include/cartesian_geom/point.h:149:10: note: ambiguity is between a regular call to this operator and a call with the argument order reversed 149 | bool operator== (point& p) const | ^ In file included from inner_ball.cpp:14: In file included from include/volume/volume_sequence_of_balls.hpp:32: include/convex_bodies/vpolyintersectvpoly.h:137:21: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | int k1 = V1.rows(), k2 = V2.rows(); | ~~ ~~~^~~~~~ include/convex_bodies/vpolyintersectvpoly.h:137:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | int k1 = V1.rows(), k2 = V2.rows(); | ~~ ~~~^~~~~~ 37 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -Iexternal -Iexternal/lpsolve/headers/run_headers -Iexternal/minimum_ellipsoid -Iinclude -Iinclude/convex_bodies/spectrahedra -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/BH/include' -isystem /opt/R/arm64/include -DBOOST_NO_AUTO_PTR -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c load_sdpa_format_file.cpp -o load_sdpa_format_file.o In file included from load_sdpa_format_file.cpp:10: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from load_sdpa_format_file.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from load_sdpa_format_file.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from load_sdpa_format_file.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from load_sdpa_format_file.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from load_sdpa_format_file.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from load_sdpa_format_file.cpp:14: In file included from /Users/ripley/R/Library/BH/include/boost/random.hpp:36: In file included from /Users/ripley/R/Library/BH/include/boost/random/additive_combine.hpp:22: In file included from /Users/ripley/R/Library/BH/include/boost/config.hpp:48: /Users/ripley/R/Library/BH/include/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from load_sdpa_format_file.cpp:18: include/convex_bodies/spectrahedra/LMI.h:126:13: warning: unused variable 'at' [-Wunused-variable] 126 | int at = 0; | ^~ In file included from load_sdpa_format_file.cpp:20: include/SDPAFormatManager.h:106:32: warning: unused variable 'sz' [-Wunused-variable] 106 | std::string::size_type sz; | ^~ include/SDPAFormatManager.h:200:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 200 | offset += std::abs(blockSize); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ include/SDPAFormatManager.h:250:9: note: in instantiation of member function 'SdpaFormatManager::loadSDPAFormatFile' requested here 250 | loadSDPAFormatFile(is, matrices, coeffs); | ^ load_sdpa_format_file.cpp:50:23: note: in instantiation of function template specialization 'SdpaFormatManager::loadSDPAFormatFile>>' requested here 50 | sdpaFormatManager.loadSDPAFormatFile(os, _spectrahedron, c); | ^ In file included from load_sdpa_format_file.cpp:18: include/convex_bodies/spectrahedra/LMI.h:59:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 59 | d = matrices.size() - 1; | ~ ~~~~~~~~~~~~~~~~^~~ include/SDPAFormatManager.h:251:25: note: in instantiation of member function 'LMI, Eigen::Matrix>::LMI' requested here 251 | LMI lmi(matrices); | ^ load_sdpa_format_file.cpp:50:23: note: in instantiation of function template specialization 'SdpaFormatManager::loadSDPAFormatFile>>' requested here 50 | sdpaFormatManager.loadSDPAFormatFile(os, _spectrahedron, c); | ^ In file included from load_sdpa_format_file.cpp:18: include/convex_bodies/spectrahedra/LMI.h:60:25: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 60 | m = matrices[0].rows(); | ~ ~~~~~~~~~~~~^~~~~~ In file included from load_sdpa_format_file.cpp:13: In file included from include/cartesian_geom/cartesian_kernel.h:25: include/cartesian_geom/point.h:48:24: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 48 | d = coeffs.rows(); | ~ ~~~~~~~^~~~~~ include/SDPAFormatManager.h:253:29: note: in instantiation of member function 'point>::point' requested here 253 | objectiveFunction = Point(coeffs); | ^ load_sdpa_format_file.cpp:50:23: note: in instantiation of function template specialization 'SdpaFormatManager::loadSDPAFormatFile>>' requested here 50 | sdpaFormatManager.loadSDPAFormatFile(os, _spectrahedron, c); | ^ In file included from load_sdpa_format_file.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:93:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_plain_dense>' requested here 93 | return eigen_wrap_plain_dense( obj, typename is_dense::type() ) ; | ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:110:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_is_plain>' requested here 110 | return eigen_wrap_is_plain( obj, | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:776:39: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap>' requested here 776 | return ::Rcpp::RcppEigen::eigen_wrap(object); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:787:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_eigen>' requested here 787 | return wrap_dispatch_eigen(object, typename traits::is_eigen_base::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:807:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_unknown_importable>' requested here 807 | return wrap_dispatch_unknown_importable(object, typename ::Rcpp::traits::is_importer::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap_end.h:30:25: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch>' requested here 30 | return internal::wrap_dispatch( object, typename ::Rcpp::traits::wrap_type_traits::wrap_category() ) ; | ^ load_sdpa_format_file.cpp:58:35: note: in instantiation of function template specialization 'Rcpp::wrap>' requested here 58 | _matrices.push_back(Rcpp::wrap(matrix)); | ^ In file included from load_sdpa_format_file.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:93:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_plain_dense>' requested here 93 | return eigen_wrap_plain_dense( obj, typename is_dense::type() ) ; | ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:110:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_is_plain>' requested here 110 | return eigen_wrap_is_plain( obj, | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:776:39: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap>' requested here 776 | return ::Rcpp::RcppEigen::eigen_wrap(object); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:787:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_eigen>' requested here 787 | return wrap_dispatch_eigen(object, typename traits::is_eigen_base::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:807:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_unknown_importable>' requested here 807 | return wrap_dispatch_unknown_importable(object, typename ::Rcpp::traits::is_importer::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap_end.h:30:25: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch>' requested here 30 | return internal::wrap_dispatch( object, typename ::Rcpp::traits::wrap_type_traits::wrap_category() ) ; | ^ load_sdpa_format_file.cpp:60:114: note: in instantiation of function template specialization 'Rcpp::wrap>' requested here 60 | Rcpp::List retList = Rcpp::List::create(Rcpp::Named("matrices") = _matrices , Rcpp::_["objFunction"] = Rcpp::wrap(c.getCoefficients())); | ^ In file included from load_sdpa_format_file.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ load_sdpa_format_file.cpp:38:29: warning: unused typedef 'LMI' [-Wunused-local-typedef] 38 | typedef LMI LMI; | ^ load_sdpa_format_file.cpp:37:28: warning: unused typedef 'RNGType' [-Wunused-local-typedef] 37 | typedef boost::mt19937 RNGType; | ^ 21 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -Iexternal -Iexternal/lpsolve/headers/run_headers -Iexternal/minimum_ellipsoid -Iinclude -Iinclude/convex_bodies/spectrahedra -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/BH/include' -isystem /opt/R/arm64/include -DBOOST_NO_AUTO_PTR -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c poly_gen.cpp -o poly_gen.o In file included from poly_gen.cpp:10: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from poly_gen.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from poly_gen.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from poly_gen.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from poly_gen.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from poly_gen.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from poly_gen.cpp:14: In file included from /Users/ripley/R/Library/BH/include/boost/random.hpp:36: In file included from /Users/ripley/R/Library/BH/include/boost/random/additive_combine.hpp:22: In file included from /Users/ripley/R/Library/BH/include/boost/config.hpp:48: /Users/ripley/R/Library/BH/include/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from poly_gen.cpp:18: include/convex_bodies/hpolytope.h:236:22: warning: unused variable 'j' [-Wunused-variable] 236 | unsigned int j; | ^ include/convex_bodies/hpolytope.h:315:22: warning: unused variable 'j' [-Wunused-variable] 315 | unsigned int j; | ^ In file included from poly_gen.cpp:19: include/convex_bodies/vpolytope.h:411:22: warning: unused variable 'j' [-Wunused-variable] 411 | unsigned int j; | ^ In file included from poly_gen.cpp:20: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:52:10: warning: unused variable 'infinite' [-Wunused-variable] 52 | REAL infinite = get_infinite(lp); /* will return 1.0e30 */ | ^~~~~~~~ In file included from poly_gen.cpp:22: include/generators/h_polytopes_generator.h:24:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 24 | unsigned rng_seed = seed; | ~~~~~~~~ ^~~~ include/generators/h_polytopes_generator.h:21:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 21 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ include/generators/h_polytopes_generator.h:70:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 70 | unsigned rng_seed = seed; | ~~~~~~~~ ^~~~ include/generators/h_polytopes_generator.h:67:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 67 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from poly_gen.cpp:23: include/generators/v_polytopes_generators.h:37:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 37 | unsigned rng_seed = seed; | ~~~~~~~~ ^~~~ include/generators/v_polytopes_generators.h:44:18: warning: unused variable 'j' [-Wunused-variable] 44 | unsigned int j; | ^ include/generators/v_polytopes_generators.h:34:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 34 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ include/generators/v_polytopes_generators.h:95:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 95 | unsigned rng_seed = seed; | ~~~~~~~~ ^~~~ include/generators/v_polytopes_generators.h:103:18: warning: unused variable 'j' [-Wunused-variable] 103 | unsigned int j, count_row,it=0; | ^ include/generators/v_polytopes_generators.h:92:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 92 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from poly_gen.cpp:24: include/generators/z_polytopes_generators.h:23:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 23 | unsigned rng_seed = seed; | ~~~~~~~~ ^~~~ include/generators/z_polytopes_generators.h:20:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 20 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ include/generators/z_polytopes_generators.h:66:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 66 | unsigned rng_seed = seed; | ~~~~~~~~ ^~~~ include/generators/z_polytopes_generators.h:63:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 63 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ include/generators/z_polytopes_generators.h:102:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 102 | unsigned rng_seed = seed; | ~~~~~~~~ ^~~~ include/generators/z_polytopes_generators.h:99:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 99 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from poly_gen.cpp:19: In file included from include/convex_bodies/vpolytope.h:19: external/minimum_ellipsoid/khach.h:61:15: warning: implicit conversion loses integer precision: 'typename matrix::size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 61 | int res = lu_factorize(A,pm); | ~~~ ^~~~~~~~~~~~~~~~~~ external/minimum_ellipsoid/khach.h:72:14: note: in instantiation of function template specialization 'InvertMatrix' requested here 72 | bool res=InvertMatrix(Lambdap, LpInv); | ^ In file included from poly_gen.cpp:24: include/generators/z_polytopes_generators.h:63:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 63 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ poly_gen.cpp:57:39: note: in instantiation of function template specialization 'gen_zonotope_uniform>>, boost::random::mersenne_twister_engine>' requested here 57 | return extractMatPoly(gen_zonotope_uniform(dim_gen, m_gen, seed2)); | ^ In file included from poly_gen.cpp:24: include/generators/z_polytopes_generators.h:66:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 66 | unsigned rng_seed = seed; | ~~~~~~~~ ^~~~ In file included from poly_gen.cpp:20: include/convex_bodies/zpolytope.h:69:19: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int k = G.cols(); | ~ ~~^~~~~~ include/convex_bodies/zpolytope.h:192:9: note: in instantiation of member function 'Zonotope>>::compute_eigenvectors' requested here 192 | compute_eigenvectors(V.transpose()); | ^ include/generators/z_polytopes_generators.h:87:7: note: in instantiation of member function 'Zonotope>>::init' requested here 87 | P.init(dim, A, b); | ^ poly_gen.cpp:57:39: note: in instantiation of function template specialization 'gen_zonotope_uniform>>, boost::random::mersenne_twister_engine>' requested here 57 | return extractMatPoly(gen_zonotope_uniform(dim_gen, m_gen, seed2)); | ^ In file included from poly_gen.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:93:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_plain_dense>' requested here 93 | return eigen_wrap_plain_dense( obj, typename is_dense::type() ) ; | ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:110:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_is_plain>' requested here 110 | return eigen_wrap_is_plain( obj, | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:776:39: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap>' requested here 776 | return ::Rcpp::RcppEigen::eigen_wrap(object); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:787:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_eigen>' requested here 787 | return wrap_dispatch_eigen(object, typename traits::is_eigen_base::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:807:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_unknown_importable>' requested here 807 | return wrap_dispatch_unknown_importable(object, typename ::Rcpp::traits::is_importer::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap_end.h:30:25: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch>' requested here 30 | return internal::wrap_dispatch( object, typename ::Rcpp::traits::wrap_type_traits::wrap_category() ) ; | ^ ./extractMatPoly.h:34:18: note: in instantiation of function template specialization 'Rcpp::wrap>' requested here 34 | return Rcpp::wrap(Mat); | ^ poly_gen.cpp:57:24: note: in instantiation of function template specialization 'extractMatPoly>>>' requested here 57 | return extractMatPoly(gen_zonotope_uniform(dim_gen, m_gen, seed2)); | ^ In file included from poly_gen.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from poly_gen.cpp:24: include/generators/z_polytopes_generators.h:20:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 20 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ poly_gen.cpp:59:39: note: in instantiation of function template specialization 'gen_zonotope_gaussian>>, boost::random::mersenne_twister_engine>' requested here 59 | return extractMatPoly(gen_zonotope_gaussian(dim_gen, m_gen, seed2)); | ^ In file included from poly_gen.cpp:24: include/generators/z_polytopes_generators.h:23:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 23 | unsigned rng_seed = seed; | ~~~~~~~~ ^~~~ include/generators/z_polytopes_generators.h:99:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 99 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ poly_gen.cpp:61:39: note: in instantiation of function template specialization 'gen_zonotope_exponential>>, boost::random::mersenne_twister_engine>' requested here 61 | return extractMatPoly(gen_zonotope_exponential(dim_gen, m_gen, seed2)); | ^ In file included from poly_gen.cpp:24: include/generators/z_polytopes_generators.h:102:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 102 | unsigned rng_seed = seed; | ~~~~~~~~ ^~~~ In file included from poly_gen.cpp:23: include/generators/v_polytopes_generators.h:42:40: warning: unused variable 'pit' [-Wunused-variable] 42 | typename std::vector::iterator pit; | ^~~ poly_gen.cpp:78:39: note: in instantiation of function template specialization 'random_vpoly>>, boost::random::mersenne_twister_engine>' requested here 78 | return extractMatPoly(random_vpoly(dim_gen, m_gen, seed2)); | ^ In file included from poly_gen.cpp:23: include/generators/v_polytopes_generators.h:34:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 34 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ include/generators/v_polytopes_generators.h:37:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 37 | unsigned rng_seed = seed; | ~~~~~~~~ ^~~~ include/generators/v_polytopes_generators.h:101:40: warning: unused variable 'pit' [-Wunused-variable] 101 | typename std::vector::iterator pit; | ^~~ poly_gen.cpp:81:39: note: in instantiation of function template specialization 'random_vpoly_incube>>, boost::random::mersenne_twister_engine>' requested here 81 | return extractMatPoly(random_vpoly_incube(dim_gen, m_gen, seed2)); | ^ In file included from poly_gen.cpp:23: include/generators/v_polytopes_generators.h:92:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 92 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ include/generators/v_polytopes_generators.h:95:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 95 | unsigned rng_seed = seed; | ~~~~~~~~ ^~~~ include/generators/v_polytopes_generators.h:16:41: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 16 | unsigned int numRows = matrix.rows()-1; | ~~~~~~~ ~~~~~~~~~~~~~^~ include/generators/v_polytopes_generators.h:138:13: note: in instantiation of function template specialization 'removeRow>' requested here 138 | removeRow(V2, i); | ^ poly_gen.cpp:81:39: note: in instantiation of function template specialization 'random_vpoly_incube>>, boost::random::mersenne_twister_engine>' requested here 81 | return extractMatPoly(random_vpoly_incube(dim_gen, m_gen, seed2)); | ^ In file included from poly_gen.cpp:23: include/generators/v_polytopes_generators.h:17:35: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 17 | unsigned int numCols = matrix.cols(); | ~~~~~~~ ~~~~~~~^~~~~~ In file included from poly_gen.cpp:19: In file included from include/convex_bodies/vpolytope.h:18: include/lp_oracles/vpolyoracles.h:40:29: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 40 | int Ncol=d+1, j, i, m=V.rows(); | ~ ~~^~~~~~ include/generators/v_polytopes_generators.h:139:17: note: in instantiation of function template specialization 'memLP_Vpoly, point>, double>' requested here 139 | if (memLP_Vpoly(V2, p, conv_mem, colno_mem)){ | ^ poly_gen.cpp:81:39: note: in instantiation of function template specialization 'random_vpoly_incube>>, boost::random::mersenne_twister_engine>' requested here 81 | return extractMatPoly(random_vpoly_incube(dim_gen, m_gen, seed2)); | ^ In file included from poly_gen.cpp:22: include/generators/h_polytopes_generator.h:21:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 21 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ poly_gen.cpp:103:39: note: in instantiation of function template specialization 'random_hpoly>>, boost::random::mersenne_twister_engine>' requested here 103 | return extractMatPoly(random_hpoly(dim_gen, m_gen, seed2)); | ^ In file included from poly_gen.cpp:22: include/generators/h_polytopes_generator.h:24:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 24 | unsigned rng_seed = seed; | ~~~~~~~~ ^~~~ include/generators/h_polytopes_generator.h:67:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 67 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ poly_gen.cpp:106:39: note: in instantiation of function template specialization 'random_hpoly_ball>>, boost::random::mersenne_twister_engine>' requested here 106 | return extractMatPoly(random_hpoly_ball(dim_gen, m_gen, seed2)); | ^ In file included from poly_gen.cpp:22: include/generators/h_polytopes_generator.h:70:29: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 70 | unsigned rng_seed = seed; | ~~~~~~~~ ^~~~ In file included from poly_gen.cpp:23: include/generators/v_polytopes_generators.h:32:23: warning: unused typedef 'Point' [-Wunused-local-typedef] 32 | typedef PointType Point; | ^ In file included from poly_gen.cpp:24: include/generators/z_polytopes_generators.h:61:38: warning: unused typedef 'NT' [-Wunused-local-typedef] 61 | typedef typename Polytope::NT NT; | ^ 54 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -Iexternal -Iexternal/lpsolve/headers/run_headers -Iexternal/minimum_ellipsoid -Iinclude -Iinclude/convex_bodies/spectrahedra -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/BH/include' -isystem /opt/R/arm64/include -DBOOST_NO_AUTO_PTR -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rotating.cpp -o rotating.o In file included from rotating.cpp:10: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from rotating.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from rotating.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from rotating.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from rotating.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from rotating.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from rotating.cpp:14: In file included from /Users/ripley/R/Library/BH/include/boost/random.hpp:36: In file included from /Users/ripley/R/Library/BH/include/boost/random/additive_combine.hpp:22: In file included from /Users/ripley/R/Library/BH/include/boost/config.hpp:48: /Users/ripley/R/Library/BH/include/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from rotating.cpp:18: In file included from include/volume/volume_sequence_of_balls.hpp:26: include/convex_bodies/hpolytope.h:236:22: warning: unused variable 'j' [-Wunused-variable] 236 | unsigned int j; | ^ include/convex_bodies/hpolytope.h:315:22: warning: unused variable 'j' [-Wunused-variable] 315 | unsigned int j; | ^ In file included from rotating.cpp:18: In file included from include/volume/volume_sequence_of_balls.hpp:27: include/convex_bodies/vpolytope.h:411:22: warning: unused variable 'j' [-Wunused-variable] 411 | unsigned int j; | ^ In file included from rotating.cpp:18: In file included from include/volume/volume_sequence_of_balls.hpp:28: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:52:10: warning: unused variable 'infinite' [-Wunused-variable] 52 | REAL infinite = get_infinite(lp); /* will return 1.0e30 */ | ^~~~~~~~ In file included from rotating.cpp:18: include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from rotating.cpp:19: include/volume/rotating.hpp:18:77: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 18 | unsigned rng_seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ rotating.cpp:53:39: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 53 | n = Rcpp::as(P.slot("A")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ rotating.cpp:56:39: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 56 | n = Rcpp::as(P.slot("V")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ rotating.cpp:59:39: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 59 | n = Rcpp::as(P.slot("G")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ rotating.cpp:68:59: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'int' [-Wshorten-64-to-32] 67 | int seed2 = (!seed.isNotNull()) ? std::chrono::system_clock::now() | ~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | .time_since_epoch().count() | ~~~~~~~~~~~~~~~~~~~~^~~~~~~ In file included from rotating.cpp:18: In file included from include/volume/volume_sequence_of_balls.hpp:27: In file included from include/convex_bodies/vpolytope.h:19: external/minimum_ellipsoid/khach.h:61:15: warning: implicit conversion loses integer precision: 'typename matrix::size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 61 | int res = lu_factorize(A,pm); | ~~~ ^~~~~~~~~~~~~~~~~~ external/minimum_ellipsoid/khach.h:72:14: note: in instantiation of function template specialization 'InvertMatrix' requested here 72 | bool res=InvertMatrix(Lambdap, LpInv); | ^ In file included from rotating.cpp:18: In file included from include/volume/volume_sequence_of_balls.hpp:28: include/convex_bodies/zpolytope.h:69:19: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int k = G.cols(); | ~ ~~^~~~~~ include/convex_bodies/zpolytope.h:192:9: note: in instantiation of member function 'Zonotope>>::compute_eigenvectors' requested here 192 | compute_eigenvectors(V.transpose()); | ^ rotating.cpp:101:16: note: in instantiation of member function 'Zonotope>>::init' requested here 101 | ZP.init(n, Rcpp::as(P.slot("G")), VT::Ones(Rcpp::as(P.slot("G")).rows())); | ^ In file included from rotating.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:93:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_plain_dense>' requested here 93 | return eigen_wrap_plain_dense( obj, typename is_dense::type() ) ; | ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:110:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_is_plain>' requested here 110 | return eigen_wrap_is_plain( obj, | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:776:39: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap>' requested here 776 | return ::Rcpp::RcppEigen::eigen_wrap(object); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:787:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_eigen>' requested here 787 | return wrap_dispatch_eigen(object, typename traits::is_eigen_base::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:807:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_unknown_importable>' requested here 807 | return wrap_dispatch_unknown_importable(object, typename ::Rcpp::traits::is_importer::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap_end.h:30:25: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch>' requested here 30 | return internal::wrap_dispatch( object, typename ::Rcpp::traits::wrap_type_traits::wrap_category() ) ; | ^ rotating.cpp:120:18: note: in instantiation of function template specialization 'Rcpp::wrap>' requested here 120 | return Rcpp::wrap(res); | ^ In file included from rotating.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ rotating.cpp:42:53: warning: unused typedef 'InterVP' [-Wunused-local-typedef] 42 | typedef IntersectionOfVpoly InterVP; | ^ 24 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -Iexternal -Iexternal/lpsolve/headers/run_headers -Iexternal/minimum_ellipsoid -Iinclude -Iinclude/convex_bodies/spectrahedra -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/BH/include' -isystem /opt/R/arm64/include -DBOOST_NO_AUTO_PTR -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c rounding.cpp -o rounding.o In file included from rounding.cpp:10: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from rounding.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from rounding.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from rounding.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from rounding.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from rounding.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from rounding.cpp:14: In file included from /Users/ripley/R/Library/BH/include/boost/random.hpp:36: In file included from /Users/ripley/R/Library/BH/include/boost/random/additive_combine.hpp:22: In file included from /Users/ripley/R/Library/BH/include/boost/config.hpp:48: /Users/ripley/R/Library/BH/include/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:236:22: warning: unused variable 'j' [-Wunused-variable] 236 | unsigned int j; | ^ include/convex_bodies/hpolytope.h:315:22: warning: unused variable 'j' [-Wunused-variable] 315 | unsigned int j; | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: include/convex_bodies/vpolytope.h:411:22: warning: unused variable 'j' [-Wunused-variable] 411 | unsigned int j; | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:52:10: warning: unused variable 'infinite' [-Wunused-variable] 52 | REAL infinite = get_infinite(lp); /* will return 1.0e30 */ | ^~~~~~~~ In file included from rounding.cpp:19: include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ rounding.cpp:69:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 69 | unsigned seed2 = Rcpp::as(seed); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~ rounding.cpp:53:39: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 53 | n = Rcpp::as(P.slot("A")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ rounding.cpp:56:39: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 56 | n = Rcpp::as(P.slot("V")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ rounding.cpp:59:39: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 59 | n = Rcpp::as(P.slot("G")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:19: external/minimum_ellipsoid/khach.h:61:15: warning: implicit conversion loses integer precision: 'typename matrix::size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 61 | int res = lu_factorize(A,pm); | ~~~ ^~~~~~~~~~~~~~~~~~ external/minimum_ellipsoid/khach.h:72:14: note: in instantiation of function template specialization 'InvertMatrix' requested here 72 | bool res=InvertMatrix(Lambdap, LpInv); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:13: In file included from include/random_walks/gaussian_cdhr_walk.hpp:11: include/generators/boost_random_number_generator.hpp:26:74: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'const unsigned int' [-Wshorten-64-to-32] 26 | : _rng(std::chrono::system_clock::now().time_since_epoch().count()) | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ rounding.cpp:67:13: note: in instantiation of member function 'BoostRandomNumberGenerator, double>::BoostRandomNumberGenerator' requested here 67 | RNGType rng(n); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:66:18: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 66 | return A.rows(); | ~~~~~~ ~~^~~~~~ include/convex_bodies/hpolytope.h:478:29: note: in instantiation of member function 'HPolytope>>::num_of_hyperplanes' requested here 478 | for (int i = 0; i < num_of_hyperplanes(); ++i) | ^ rounding.cpp:110:16: note: in instantiation of member function 'HPolytope>>::normalize' requested here 110 | HP.normalize(); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:40:15: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 40 | int d = A.cols(); | ~ ~~^~~~~~ include/convex_bodies/hpolytope.h:52:23: note: in instantiation of function template specialization 'ComputeChebychevBall>, Eigen::Matrix, Eigen::Matrix>' requested here 52 | _inner_ball = ComputeChebychevBall(A, b); | ^ rounding.cpp:111:28: note: in instantiation of member function 'HPolytope>>::ComputeInnerBall' requested here 111 | InnerBall = HP.ComputeInnerBall(); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:41:26: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 41 | int Ncol=d+1, j, m=A.rows(), i; | ~ ~~^~~~~~ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: include/convex_bodies/vpolytope.h:413:44: warning: unused variable 'pointIt' [-Wunused-variable] 413 | typename std::vector::iterator pointIt; | ^~~~~~~ include/convex_bodies/vpolytope.h:267:14: note: in instantiation of function template specialization 'VPolytope>>::get_points_for_rounding>>>' requested here 267 | if (!get_points_for_rounding(randPoints)) { | ^ rounding.cpp:117:28: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 117 | InnerBall = VP.ComputeInnerBall(); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: include/convex_bodies/vpolytope.h:73:18: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 73 | return V.rows(); | ~~~~~~ ~~^~~~~~ include/convex_bodies/vpolytope.h:408:13: note: in instantiation of member function 'VPolytope>>::num_of_vertices' requested here 408 | if (num_of_vertices()>20*_d) { | ^ include/convex_bodies/vpolytope.h:267:14: note: in instantiation of function template specialization 'VPolytope>>::get_points_for_rounding>>>' requested here 267 | if (!get_points_for_rounding(randPoints)) { | ^ rounding.cpp:117:28: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 117 | InnerBall = VP.ComputeInnerBall(); | ^ In file included from rounding.cpp:13: In file included from include/cartesian_geom/cartesian_kernel.h:25: include/cartesian_geom/point.h:48:24: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 48 | d = coeffs.rows(); | ~ ~~~~~~~^~~~~~ include/convex_bodies/vpolytope.h:415:19: note: in instantiation of member function 'point>::point' requested here 415 | Point p(V.row(i)); | ^ include/convex_bodies/vpolytope.h:267:14: note: in instantiation of function template specialization 'VPolytope>>::get_points_for_rounding>>>' requested here 267 | if (!get_points_for_rounding(randPoints)) { | ^ rounding.cpp:117:28: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 117 | InnerBall = VP.ComputeInnerBall(); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:18: include/lp_oracles/vpolyoracles.h:311:8: warning: unused variable 'res' [-Wunused-variable] 311 | NT res; | ^~~ include/convex_bodies/vpolytope.h:297:19: note: in instantiation of function template specialization 'intersect_double_line_Vpoly, point>>' requested here 297 | res = intersect_double_line_Vpoly(V, center, v, row, colno); | ^ rounding.cpp:117:28: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 117 | InnerBall = VP.ComputeInnerBall(); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:18: include/lp_oracles/vpolyoracles.h:308:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 308 | int m=V.rows(); | ~ ~~^~~~~~ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: include/convex_bodies/zpolytope.h:69:19: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int k = G.cols(); | ~ ~~^~~~~~ include/convex_bodies/zpolytope.h:192:9: note: in instantiation of member function 'Zonotope>>::compute_eigenvectors' requested here 192 | compute_eigenvectors(V.transpose()); | ^ rounding.cpp:122:16: note: in instantiation of member function 'Zonotope>>::init' requested here 122 | ZP.init(n, Rcpp::as(P.slot("G")), VT::Ones(Rcpp::as(P.slot("G")).rows())); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:18: include/lp_oracles/vpolyoracles.h:176:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 176 | int m=V.rows(); | ~ ~~^~~~~~ include/convex_bodies/zpolytope.h:260:24: note: in instantiation of function template specialization 'intersect_line_Vpoly, point>>' requested here 260 | min_plus = intersect_line_Vpoly(V, center, v, conv_comb, | ^ rounding.cpp:123:28: note: in instantiation of member function 'Zonotope>>::ComputeInnerBall' requested here 123 | InnerBall = ZP.ComputeInnerBall(); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ rounding.cpp:135:29: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, HPolytope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 135 | round_res = round_polytope(HP, InnerBall, walkL, rng); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ rounding.cpp:135:29: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, HPolytope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 135 | round_res = round_polytope(HP, InnerBall, walkL, rng); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:313:12: warning: unused variable 'mult' [-Wunused-variable] 313 | NT mult; | ^~~~ include/random_walks/uniform_rdhr_walk.hpp:64:41: note: in instantiation of member function 'HPolytope>>::line_intersect' requested here 64 | std::pair bpair = P.line_intersect(_p, v, _lamdas, _Av, | ^ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'RDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ rounding.cpp:137:29: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, HPolytope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 137 | round_res = round_polytope(HP, InnerBall, walkL, rng); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ rounding.cpp:146:29: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, VPolytope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 146 | round_res = round_polytope(VP, InnerBall, walkL, rng); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ rounding.cpp:146:29: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, VPolytope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 146 | round_res = round_polytope(VP, InnerBall, walkL, rng); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ rounding.cpp:157:29: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, Zonotope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 157 | round_res = round_polytope(ZP, InnerBall, walkL, rng); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:140:8: warning: unused variable 'res' [-Wunused-variable] 140 | NT res; | ^~~ include/convex_bodies/zpolytope.h:331:16: note: in instantiation of function template specialization 'intersect_line_zono, point>>' requested here 331 | return intersect_line_zono(V, r, v, conv_comb, colno); | ^ include/random_walks/uniform_cdhr_walk.hpp:88:37: note: in instantiation of member function 'Zonotope>>::line_intersect_coord' requested here 88 | std::pair bpair = P.line_intersect_coord(_p, _rand_coord, _lamdas); | ^ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ rounding.cpp:157:29: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, Zonotope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 157 | round_res = round_polytope(ZP, InnerBall, walkL, rng); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:137:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | int m=V.rows(); | ~ ~~^~~~~~ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ rounding.cpp:157:29: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, Zonotope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 157 | round_res = round_polytope(ZP, InnerBall, walkL, rng); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: include/random_walks/uniform_billiard_walk.hpp:77:15: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 77 | int k = V.rows(), max_index = -1; | ~ ~~^~~~~~ include/random_walks/uniform_billiard_walk.hpp:220:28: note: in instantiation of function template specialization 'compute_diameter>>>::compute' requested here 220 | ::template compute(P); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ rounding.cpp:161:29: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, Zonotope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 161 | round_res = round_polytope(ZP, InnerBall, walkL, rng); | ^ In file included from rounding.cpp:18: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: include/convex_bodies/zpolytope.h:138:18: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 138 | return V.rows(); | ~~~~~~ ~~^~~~~~ include/convex_bodies/zpolytope.h:387:29: note: in instantiation of member function 'Zonotope>>::num_of_generators' requested here 387 | for (int j = 0; j < num_of_generators(); ++j) | ^ include/random_walks/uniform_billiard_walk.hpp:311:11: note: in instantiation of member function 'Zonotope>>::compute_reflection' requested here 311 | P.compute_reflection(_v, _p, pbpair.second); | ^ include/random_walks/uniform_billiard_walk.hpp:221:9: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 221 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ rounding.cpp:161:29: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, Zonotope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 161 | round_res = round_polytope(ZP, InnerBall, walkL, rng); | ^ In file included from rounding.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:93:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_plain_dense>' requested here 93 | return eigen_wrap_plain_dense( obj, typename is_dense::type() ) ; | ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:110:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_is_plain>' requested here 110 | return eigen_wrap_is_plain( obj, | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:776:39: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap>' requested here 776 | return ::Rcpp::RcppEigen::eigen_wrap(object); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:787:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_eigen>' requested here 787 | return wrap_dispatch_eigen(object, typename traits::is_eigen_base::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:807:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_unknown_importable>' requested here 807 | return wrap_dispatch_unknown_importable(object, typename ::Rcpp::traits::is_importer::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap_end.h:30:25: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch>' requested here 30 | return internal::wrap_dispatch( object, typename ::Rcpp::traits::wrap_type_traits::wrap_category() ) ; | ^ rounding.cpp:168:82: note: in instantiation of function template specialization 'Rcpp::wrap>' requested here 168 | return Rcpp::List::create(Rcpp::Named("Mat") = Mat, Rcpp::Named("T") = Rcpp::wrap(round_res.first.first), | ^ In file included from rounding.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:93:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_plain_dense>' requested here 93 | return eigen_wrap_plain_dense( obj, typename is_dense::type() ) ; | ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:110:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_is_plain>' requested here 110 | return eigen_wrap_is_plain( obj, | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:776:39: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap>' requested here 776 | return ::Rcpp::RcppEigen::eigen_wrap(object); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:787:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_eigen>' requested here 787 | return wrap_dispatch_eigen(object, typename traits::is_eigen_base::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:807:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_unknown_importable>' requested here 807 | return wrap_dispatch_unknown_importable(object, typename ::Rcpp::traits::is_importer::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap_end.h:30:25: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch>' requested here 30 | return internal::wrap_dispatch( object, typename ::Rcpp::traits::wrap_type_traits::wrap_category() ) ; | ^ rounding.cpp:169:60: note: in instantiation of function template specialization 'Rcpp::wrap>' requested here 169 | Rcpp::Named("shift") = Rcpp::wrap(round_res.first.second), | ^ In file included from rounding.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from rounding.cpp:20: include/volume/volume_cooling_gaussians.hpp:166:48: warning: unused typedef 'viterator' [-Wunused-local-typedef] 166 | typedef typename std::vector::iterator viterator; | ^ include/volume/volume_cooling_gaussians.hpp:221:35: warning: unused typedef 'VT' [-Wunused-local-typedef] 221 | typedef typename Polytope::VT VT; | ^ 47 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -Iexternal -Iexternal/lpsolve/headers/run_headers -Iexternal/minimum_ellipsoid -Iinclude -Iinclude/convex_bodies/spectrahedra -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/BH/include' -isystem /opt/R/arm64/include -DBOOST_NO_AUTO_PTR -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c sample_points.cpp -o sample_points.o In file included from sample_points.cpp:10: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from sample_points.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from sample_points.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from sample_points.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from sample_points.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from sample_points.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from sample_points.cpp:13: In file included from /Users/ripley/R/Library/BH/include/boost/random.hpp:36: In file included from /Users/ripley/R/Library/BH/include/boost/random/additive_combine.hpp:22: In file included from /Users/ripley/R/Library/BH/include/boost/config.hpp:48: /Users/ripley/R/Library/BH/include/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:236:22: warning: unused variable 'j' [-Wunused-variable] 236 | unsigned int j; | ^ include/convex_bodies/hpolytope.h:315:22: warning: unused variable 'j' [-Wunused-variable] 315 | unsigned int j; | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: include/convex_bodies/vpolytope.h:411:22: warning: unused variable 'j' [-Wunused-variable] 411 | unsigned int j; | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:52:10: warning: unused variable 'infinite' [-Wunused-variable] 52 | REAL infinite = get_infinite(lp); /* will return 1.0e30 */ | ^~~~~~~~ In file included from sample_points.cpp:18: include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from sample_points.cpp:20: include/sampling/sampling.hpp:129:18: warning: unused variable 'n' [-Wunused-variable] 129 | unsigned int n = rnum / 2; | ^ sample_points.cpp:162:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 162 | unsigned seed2 = Rcpp::as(Rcpp::as(random_walk)["seed"]); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sample_points.cpp:172:8: warning: unused variable 'radius' [-Wunused-variable] 172 | NT radius = 1.0, L; | ^~~~~~ sample_points.cpp:145:41: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 145 | dim = Rcpp::as(P.slot("A")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ sample_points.cpp:148:41: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 148 | dim = Rcpp::as(P.slot("V")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ sample_points.cpp:151:41: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 151 | dim = Rcpp::as(P.slot("G")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ sample_points.cpp:154:42: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 154 | dim = Rcpp::as(P.slot("V1")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:19: external/minimum_ellipsoid/khach.h:61:15: warning: implicit conversion loses integer precision: 'typename matrix::size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 61 | int res = lu_factorize(A,pm); | ~~~ ^~~~~~~~~~~~~~~~~~ external/minimum_ellipsoid/khach.h:72:14: note: in instantiation of function template specialization 'InvertMatrix' requested here 72 | bool res=InvertMatrix(Lambdap, LpInv); | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:13: In file included from include/random_walks/gaussian_cdhr_walk.hpp:11: include/generators/boost_random_number_generator.hpp:26:74: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'const unsigned int' [-Wshorten-64-to-32] 26 | : _rng(std::chrono::system_clock::now().time_since_epoch().count()) | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ sample_points.cpp:160:13: note: in instantiation of member function 'BoostRandomNumberGenerator, double>::BoostRandomNumberGenerator' requested here 160 | RNGType rng(dim); | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:40:15: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 40 | int d = A.cols(); | ~ ~~^~~~~~ include/convex_bodies/hpolytope.h:52:23: note: in instantiation of function template specialization 'ComputeChebychevBall>, Eigen::Matrix, Eigen::Matrix>' requested here 52 | _inner_ball = ComputeChebychevBall(A, b); | ^ sample_points.cpp:292:32: note: in instantiation of member function 'HPolytope>>::ComputeInnerBall' requested here 292 | InnerBall = HP.ComputeInnerBall(); | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:41:26: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 41 | int Ncol=d+1, j, m=A.rows(), i; | ~ ~~^~~~~~ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:214:19: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 214 | int m = A.rows(); | ~ ~~^~~~~~ sample_points.cpp:296:20: note: in instantiation of member function 'HPolytope>>::is_in' requested here 296 | if (HP.is_in(StartingPoint) == 0) { | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:66:18: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 66 | return A.rows(); | ~~~~~~ ~~^~~~~~ include/convex_bodies/hpolytope.h:478:29: note: in instantiation of member function 'HPolytope>>::num_of_hyperplanes' requested here 478 | for (int i = 0; i < num_of_hyperplanes(); ++i) | ^ sample_points.cpp:299:16: note: in instantiation of member function 'HPolytope>>::normalize' requested here 299 | HP.normalize(); | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: include/convex_bodies/vpolytope.h:413:44: warning: unused variable 'pointIt' [-Wunused-variable] 413 | typename std::vector::iterator pointIt; | ^~~~~~~ include/convex_bodies/vpolytope.h:267:14: note: in instantiation of function template specialization 'VPolytope>>::get_points_for_rounding>>>' requested here 267 | if (!get_points_for_rounding(randPoints)) { | ^ sample_points.cpp:312:32: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 312 | InnerBall = VP.ComputeInnerBall(); | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: include/convex_bodies/vpolytope.h:73:18: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 73 | return V.rows(); | ~~~~~~ ~~^~~~~~ include/convex_bodies/vpolytope.h:408:13: note: in instantiation of member function 'VPolytope>>::num_of_vertices' requested here 408 | if (num_of_vertices()>20*_d) { | ^ include/convex_bodies/vpolytope.h:267:14: note: in instantiation of function template specialization 'VPolytope>>::get_points_for_rounding>>>' requested here 267 | if (!get_points_for_rounding(randPoints)) { | ^ sample_points.cpp:312:32: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 312 | InnerBall = VP.ComputeInnerBall(); | ^ In file included from sample_points.cpp:18: In file included from include/volume/volume_sequence_of_balls.hpp:24: In file included from include/cartesian_geom/cartesian_kernel.h:25: include/cartesian_geom/point.h:48:24: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 48 | d = coeffs.rows(); | ~ ~~~~~~~^~~~~~ include/convex_bodies/vpolytope.h:415:19: note: in instantiation of member function 'point>::point' requested here 415 | Point p(V.row(i)); | ^ include/convex_bodies/vpolytope.h:267:14: note: in instantiation of function template specialization 'VPolytope>>::get_points_for_rounding>>>' requested here 267 | if (!get_points_for_rounding(randPoints)) { | ^ sample_points.cpp:312:32: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 312 | InnerBall = VP.ComputeInnerBall(); | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:18: include/lp_oracles/vpolyoracles.h:311:8: warning: unused variable 'res' [-Wunused-variable] 311 | NT res; | ^~~ include/convex_bodies/vpolytope.h:297:19: note: in instantiation of function template specialization 'intersect_double_line_Vpoly, point>>' requested here 297 | res = intersect_double_line_Vpoly(V, center, v, row, colno); | ^ sample_points.cpp:312:32: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 312 | InnerBall = VP.ComputeInnerBall(); | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:18: include/lp_oracles/vpolyoracles.h:308:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 308 | int m=V.rows(); | ~ ~~^~~~~~ include/lp_oracles/vpolyoracles.h:40:29: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 40 | int Ncol=d+1, j, i, m=V.rows(); | ~ ~~^~~~~~ include/convex_bodies/vpolytope.h:310:13: note: in instantiation of function template specialization 'memLP_Vpoly, point>, double>' requested here 310 | if (memLP_Vpoly(V, p, conv_mem, colno_mem)){ | ^ sample_points.cpp:316:20: note: in instantiation of member function 'VPolytope>>::is_in' requested here 316 | if (VP.is_in(StartingPoint) == 0) | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: include/convex_bodies/zpolytope.h:69:19: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int k = G.cols(); | ~ ~~^~~~~~ include/convex_bodies/zpolytope.h:192:9: note: in instantiation of member function 'Zonotope>>::compute_eigenvectors' requested here 192 | compute_eigenvectors(V.transpose()); | ^ sample_points.cpp:326:16: note: in instantiation of member function 'Zonotope>>::init' requested here 326 | ZP.init(dim, Rcpp::as(P.slot("G")), | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:18: include/lp_oracles/vpolyoracles.h:176:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 176 | int m=V.rows(); | ~ ~~^~~~~~ include/convex_bodies/zpolytope.h:260:24: note: in instantiation of function template specialization 'intersect_line_Vpoly, point>>' requested here 260 | min_plus = intersect_line_Vpoly(V, center, v, conv_comb, | ^ sample_points.cpp:330:32: note: in instantiation of member function 'Zonotope>>::ComputeInnerBall' requested here 330 | InnerBall = ZP.ComputeInnerBall(); | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:38:16: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | int Ncol=V.rows(), j, i; | ~~~~ ~~^~~~~~ include/convex_bodies/zpolytope.h:241:12: note: in instantiation of function template specialization 'memLP_Zonotope, point>, double>' requested here 241 | if(memLP_Zonotope(V, p, row_mem, colno_mem)) | ^ sample_points.cpp:334:20: note: in instantiation of member function 'Zonotope>>::is_in' requested here 334 | if (ZP.is_in(StartingPoint) == 0) | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:19: include/convex_bodies/vpolyintersectvpoly.h:55:68: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 55 | seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ sample_points.cpp:350:19: note: in instantiation of member function 'IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>::init' requested here 350 | VPcVP.init(VP1, VP2); | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:19: include/convex_bodies/vpolyintersectvpoly.h:125:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 125 | int k = P1.get_mat().rows() + P2.get_mat().rows(); | ~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ sample_points.cpp:352:24: note: in instantiation of member function 'IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>::is_feasible' requested here 352 | if (!VPcVP.is_feasible()) throw Rcpp::exception("Empty set!"); | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:164:25: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 164 | unsigned int d = V1.cols(); | ~ ~~~^~~~~~ include/convex_bodies/vpolyintersectvpoly.h:128:9: note: in instantiation of function template specialization 'PointInIntersection, Eigen::Matrix, point>>' requested here 128 | PointInIntersection(P1.get_mat(), P2.get_mat(), | ^ sample_points.cpp:352:24: note: in instantiation of member function 'IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>::is_feasible' requested here 352 | if (!VPcVP.is_feasible()) throw Rcpp::exception("Empty set!"); | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:165:26: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 165 | unsigned int k1 = V1.rows(); | ~~ ~~~^~~~~~ include/lp_oracles/solve_lp.h:166:26: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 166 | unsigned int k2 = V2.rows(); | ~~ ~~~^~~~~~ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:19: include/convex_bodies/vpolyintersectvpoly.h:154:22: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'Point' (aka 'point>') and 'point>') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator] 154 | if (p==(*rvert)) { | ~^ ~~~~~~~~ sample_points.cpp:353:31: note: in instantiation of member function 'IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>::ComputeInnerBall' requested here 353 | InnerBall = VPcVP.ComputeInnerBall(); | ^ include/cartesian_geom/point.h:149:10: note: ambiguity is between a regular call to this operator and a call with the argument order reversed 149 | bool operator== (point& p) const | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:19: include/convex_bodies/vpolyintersectvpoly.h:137:21: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | int k1 = V1.rows(), k2 = V2.rows(); | ~~ ~~~^~~~~~ include/convex_bodies/vpolyintersectvpoly.h:137:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | int k1 = V1.rows(), k2 = V2.rows(); | ~~ ~~~^~~~~~ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:10: include/random_walks/boundary_cdhr_walk.hpp:73:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 73 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/boundary_cdhr_walk.hpp:31:13: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 31 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:152:14: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 152 | Walk walk(P, p, rng); | ^ include/sampling/sampling.hpp:125:35: note: in instantiation of function template specialization 'BoundaryRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 125 | BoundaryRandomPointGenerator::apply(P, p, nburns, walk_len, | ^ sample_points.cpp:29:13: note: in instantiation of function template specialization 'uniform_sampling_boundary>>, HPolytope>>, BoostRandomNumberGenerator, double>, point>>' requested here 29 | uniform_sampling_boundary (randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:368:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 368 | sample_from_polytope(HP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:10: include/random_walks/boundary_cdhr_walk.hpp:48:35: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:156:18: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 156 | walk.apply(P, p1, p2, walk_length, rng); | ^ include/sampling/sampling.hpp:125:35: note: in instantiation of function template specialization 'BoundaryRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 125 | BoundaryRandomPointGenerator::apply(P, p, nburns, walk_len, | ^ sample_points.cpp:29:13: note: in instantiation of function template specialization 'uniform_sampling_boundary>>, HPolytope>>, BoostRandomNumberGenerator, double>, point>>' requested here 29 | uniform_sampling_boundary (randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:368:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 368 | sample_from_polytope(HP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:313:12: warning: unused variable 'mult' [-Wunused-variable] 313 | NT mult; | ^~~~ include/random_walks/boundary_rdhr_walk.hpp:48:45: note: in instantiation of member function 'HPolytope>>::line_intersect' requested here 48 | std::pair bpair = P.line_intersect(_p, v, _lamdas, _Av, | ^ include/sampling/random_point_generators.hpp:156:18: note: in instantiation of function template specialization 'BRDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 156 | walk.apply(P, p1, p2, walk_length, rng); | ^ include/sampling/sampling.hpp:125:35: note: in instantiation of function template specialization 'BoundaryRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 125 | BoundaryRandomPointGenerator::apply(P, p, nburns, walk_len, | ^ sample_points.cpp:32:13: note: in instantiation of function template specialization 'uniform_sampling_boundary>>, HPolytope>>, BoostRandomNumberGenerator, double>, point>>' requested here 32 | uniform_sampling_boundary (randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:368:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 368 | sample_from_polytope(HP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:131:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 131 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/gaussian_cdhr_walk.hpp:82:9: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 82 | initialize(P, p, a_i, rng); | ^ include/sampling/random_point_generators.hpp:93:14: note: in instantiation of member function 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk' requested here 93 | Walk walk(P, p, a_i, rng); | ^ include/sampling/sampling.hpp:167:27: note: in instantiation of function template specialization 'GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, double, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 167 | RandomPointGenerator::apply(P, p, a, nburns, walk_len, randPoints, | ^ sample_points.cpp:37:13: note: in instantiation of function template specialization 'gaussian_sampling>>, HPolytope>>, BoostRandomNumberGenerator, double>, double, point>>' requested here 37 | gaussian_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:368:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 368 | sample_from_polytope(HP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:107:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 107 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:96:18: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 96 | walk.apply(P, p, a_i, walk_length, rng); | ^ include/sampling/sampling.hpp:167:27: note: in instantiation of function template specialization 'GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, double, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 167 | RandomPointGenerator::apply(P, p, a, nburns, walk_len, randPoints, | ^ sample_points.cpp:37:13: note: in instantiation of function template specialization 'gaussian_sampling>>, HPolytope>>, BoostRandomNumberGenerator, double>, double, point>>' requested here 37 | gaussian_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:368:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 368 | sample_from_polytope(HP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/sampling/sampling.hpp:52:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 52 | RandomPointGenerator::apply(P, p, nburns, walk_len, randPoints, | ^ sample_points.cpp:40:13: note: in instantiation of function template specialization 'uniform_sampling>>, HPolytope>>, BoostRandomNumberGenerator, double>, point>>' requested here 40 | uniform_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:368:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 368 | sample_from_polytope(HP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/sampling/sampling.hpp:52:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 52 | RandomPointGenerator::apply(P, p, nburns, walk_len, randPoints, | ^ sample_points.cpp:40:13: note: in instantiation of function template specialization 'uniform_sampling>>, HPolytope>>, BoostRandomNumberGenerator, double>, point>>' requested here 40 | uniform_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:368:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 368 | sample_from_polytope(HP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:10: include/random_walks/boundary_cdhr_walk.hpp:73:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 73 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/boundary_cdhr_walk.hpp:31:13: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 31 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:152:14: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 152 | Walk walk(P, p, rng); | ^ include/sampling/sampling.hpp:125:35: note: in instantiation of function template specialization 'BoundaryRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 125 | BoundaryRandomPointGenerator::apply(P, p, nburns, walk_len, | ^ sample_points.cpp:29:13: note: in instantiation of function template specialization 'uniform_sampling_boundary>>, VPolytope>>, BoostRandomNumberGenerator, double>, point>>' requested here 29 | uniform_sampling_boundary (randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:373:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 373 | sample_from_polytope(VP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:10: include/random_walks/boundary_cdhr_walk.hpp:48:35: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:156:18: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 156 | walk.apply(P, p1, p2, walk_length, rng); | ^ include/sampling/sampling.hpp:125:35: note: in instantiation of function template specialization 'BoundaryRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 125 | BoundaryRandomPointGenerator::apply(P, p, nburns, walk_len, | ^ sample_points.cpp:29:13: note: in instantiation of function template specialization 'uniform_sampling_boundary>>, VPolytope>>, BoostRandomNumberGenerator, double>, point>>' requested here 29 | uniform_sampling_boundary (randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:373:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 373 | sample_from_polytope(VP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:131:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 131 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/gaussian_cdhr_walk.hpp:82:9: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 82 | initialize(P, p, a_i, rng); | ^ include/sampling/random_point_generators.hpp:93:14: note: in instantiation of member function 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk' requested here 93 | Walk walk(P, p, a_i, rng); | ^ include/sampling/sampling.hpp:167:27: note: in instantiation of function template specialization 'GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, double, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 167 | RandomPointGenerator::apply(P, p, a, nburns, walk_len, randPoints, | ^ sample_points.cpp:37:13: note: in instantiation of function template specialization 'gaussian_sampling>>, VPolytope>>, BoostRandomNumberGenerator, double>, double, point>>' requested here 37 | gaussian_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:373:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 373 | sample_from_polytope(VP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:107:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 107 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:96:18: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 96 | walk.apply(P, p, a_i, walk_length, rng); | ^ include/sampling/sampling.hpp:167:27: note: in instantiation of function template specialization 'GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, double, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 167 | RandomPointGenerator::apply(P, p, a, nburns, walk_len, randPoints, | ^ sample_points.cpp:37:13: note: in instantiation of function template specialization 'gaussian_sampling>>, VPolytope>>, BoostRandomNumberGenerator, double>, double, point>>' requested here 37 | gaussian_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:373:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 373 | sample_from_polytope(VP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/sampling/sampling.hpp:52:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 52 | RandomPointGenerator::apply(P, p, nburns, walk_len, randPoints, | ^ sample_points.cpp:40:13: note: in instantiation of function template specialization 'uniform_sampling>>, VPolytope>>, BoostRandomNumberGenerator, double>, point>>' requested here 40 | uniform_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:373:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 373 | sample_from_polytope(VP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/sampling/sampling.hpp:52:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 52 | RandomPointGenerator::apply(P, p, nburns, walk_len, randPoints, | ^ sample_points.cpp:40:13: note: in instantiation of function template specialization 'uniform_sampling>>, VPolytope>>, BoostRandomNumberGenerator, double>, point>>' requested here 40 | uniform_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:373:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 373 | sample_from_polytope(VP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:10: include/random_walks/boundary_cdhr_walk.hpp:73:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 73 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/boundary_cdhr_walk.hpp:31:13: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 31 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:152:14: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 152 | Walk walk(P, p, rng); | ^ include/sampling/sampling.hpp:125:35: note: in instantiation of function template specialization 'BoundaryRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 125 | BoundaryRandomPointGenerator::apply(P, p, nburns, walk_len, | ^ sample_points.cpp:29:13: note: in instantiation of function template specialization 'uniform_sampling_boundary>>, Zonotope>>, BoostRandomNumberGenerator, double>, point>>' requested here 29 | uniform_sampling_boundary (randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:378:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 378 | sample_from_polytope(ZP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:140:8: warning: unused variable 'res' [-Wunused-variable] 140 | NT res; | ^~~ include/convex_bodies/zpolytope.h:331:16: note: in instantiation of function template specialization 'intersect_line_zono, point>>' requested here 331 | return intersect_line_zono(V, r, v, conv_comb, colno); | ^ include/random_walks/boundary_cdhr_walk.hpp:76:41: note: in instantiation of member function 'Zonotope>>::line_intersect_coord' requested here 76 | std::pair bpair = P.line_intersect_coord(_p, _rand_coord, | ^ include/random_walks/boundary_cdhr_walk.hpp:31:13: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 31 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:152:14: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 152 | Walk walk(P, p, rng); | ^ include/sampling/sampling.hpp:125:35: note: in instantiation of function template specialization 'BoundaryRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 125 | BoundaryRandomPointGenerator::apply(P, p, nburns, walk_len, | ^ sample_points.cpp:29:13: note: in instantiation of function template specialization 'uniform_sampling_boundary>>, Zonotope>>, BoostRandomNumberGenerator, double>, point>>' requested here 29 | uniform_sampling_boundary (randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:378:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 378 | sample_from_polytope(ZP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:137:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | int m=V.rows(); | ~ ~~^~~~~~ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:10: include/random_walks/boundary_cdhr_walk.hpp:48:35: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:156:18: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 156 | walk.apply(P, p1, p2, walk_length, rng); | ^ include/sampling/sampling.hpp:125:35: note: in instantiation of function template specialization 'BoundaryRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 125 | BoundaryRandomPointGenerator::apply(P, p, nburns, walk_len, | ^ sample_points.cpp:29:13: note: in instantiation of function template specialization 'uniform_sampling_boundary>>, Zonotope>>, BoostRandomNumberGenerator, double>, point>>' requested here 29 | uniform_sampling_boundary (randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:378:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 378 | sample_from_polytope(ZP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:131:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 131 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/gaussian_cdhr_walk.hpp:82:9: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 82 | initialize(P, p, a_i, rng); | ^ include/sampling/random_point_generators.hpp:93:14: note: in instantiation of member function 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk' requested here 93 | Walk walk(P, p, a_i, rng); | ^ include/sampling/sampling.hpp:167:27: note: in instantiation of function template specialization 'GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, double, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 167 | RandomPointGenerator::apply(P, p, a, nburns, walk_len, randPoints, | ^ sample_points.cpp:37:13: note: in instantiation of function template specialization 'gaussian_sampling>>, Zonotope>>, BoostRandomNumberGenerator, double>, double, point>>' requested here 37 | gaussian_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:378:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 378 | sample_from_polytope(ZP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:107:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 107 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:96:18: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 96 | walk.apply(P, p, a_i, walk_length, rng); | ^ include/sampling/sampling.hpp:167:27: note: in instantiation of function template specialization 'GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, double, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 167 | RandomPointGenerator::apply(P, p, a, nburns, walk_len, randPoints, | ^ sample_points.cpp:37:13: note: in instantiation of function template specialization 'gaussian_sampling>>, Zonotope>>, BoostRandomNumberGenerator, double>, double, point>>' requested here 37 | gaussian_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:378:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 378 | sample_from_polytope(ZP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/sampling/sampling.hpp:52:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 52 | RandomPointGenerator::apply(P, p, nburns, walk_len, randPoints, | ^ sample_points.cpp:40:13: note: in instantiation of function template specialization 'uniform_sampling>>, Zonotope>>, BoostRandomNumberGenerator, double>, point>>' requested here 40 | uniform_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:378:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 378 | sample_from_polytope(ZP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/sampling/sampling.hpp:52:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 52 | RandomPointGenerator::apply(P, p, nburns, walk_len, randPoints, | ^ sample_points.cpp:40:13: note: in instantiation of function template specialization 'uniform_sampling>>, Zonotope>>, BoostRandomNumberGenerator, double>, point>>' requested here 40 | uniform_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:378:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 378 | sample_from_polytope(ZP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: include/random_walks/uniform_billiard_walk.hpp:77:15: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 77 | int k = V.rows(), max_index = -1; | ~ ~~^~~~~~ include/random_walks/uniform_billiard_walk.hpp:230:40: note: in instantiation of function template specialization 'compute_diameter>>>::compute' requested here 230 | ::template compute(P); | ^ include/sampling/random_point_generators.hpp:36:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 36 | Walk walk(P, p, rng, parameters); | ^ include/sampling/sampling.hpp:89:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>, BilliardWalk::parameters>' requested here 89 | RandomPointGenerator::apply(P, p, nburns, walk_len, randPoints, | ^ sample_points.cpp:54:13: note: in instantiation of function template specialization 'uniform_sampling>>, Zonotope>>, BoostRandomNumberGenerator, double>, BilliardWalk, point>>' requested here 54 | uniform_sampling(randPoints, P, rng, WalkType, walkL, numpoints, StartingPoint, nburns); | ^ sample_points.cpp:378:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 378 | sample_from_polytope(ZP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: include/convex_bodies/zpolytope.h:138:18: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 138 | return V.rows(); | ~~~~~~ ~~^~~~~~ include/convex_bodies/zpolytope.h:387:29: note: in instantiation of member function 'Zonotope>>::num_of_generators' requested here 387 | for (int j = 0; j < num_of_generators(); ++j) | ^ include/random_walks/uniform_billiard_walk.hpp:311:11: note: in instantiation of member function 'Zonotope>>::compute_reflection' requested here 311 | P.compute_reflection(_v, _p, pbpair.second); | ^ include/random_walks/uniform_billiard_walk.hpp:231:9: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 231 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:36:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 36 | Walk walk(P, p, rng, parameters); | ^ include/sampling/sampling.hpp:89:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>, BilliardWalk::parameters>' requested here 89 | RandomPointGenerator::apply(P, p, nburns, walk_len, randPoints, | ^ sample_points.cpp:54:13: note: in instantiation of function template specialization 'uniform_sampling>>, Zonotope>>, BoostRandomNumberGenerator, double>, BilliardWalk, point>>' requested here 54 | uniform_sampling(randPoints, P, rng, WalkType, walkL, numpoints, StartingPoint, nburns); | ^ sample_points.cpp:378:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 378 | sample_from_polytope(ZP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:10: include/random_walks/boundary_cdhr_walk.hpp:73:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 73 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/boundary_cdhr_walk.hpp:31:13: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::initialize>>, BoostRandomNumberGenerator, double>>>' requested here 31 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:152:14: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::Walk>>, BoostRandomNumberGenerator, double>>>' requested here 152 | Walk walk(P, p, rng); | ^ include/sampling/sampling.hpp:125:35: note: in instantiation of function template specialization 'BoundaryRandomPointGenerator>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>::apply>>, BoostRandomNumberGenerator, double>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 125 | BoundaryRandomPointGenerator::apply(P, p, nburns, walk_len, | ^ sample_points.cpp:29:13: note: in instantiation of function template specialization 'uniform_sampling_boundary>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, point>>' requested here 29 | uniform_sampling_boundary (randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:383:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 383 | sample_from_polytope(VPcVP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:10: include/random_walks/boundary_cdhr_walk.hpp:48:35: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:156:18: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::apply>>, BoostRandomNumberGenerator, double>>>' requested here 156 | walk.apply(P, p1, p2, walk_length, rng); | ^ include/sampling/sampling.hpp:125:35: note: in instantiation of function template specialization 'BoundaryRandomPointGenerator>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>::apply>>, BoostRandomNumberGenerator, double>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 125 | BoundaryRandomPointGenerator::apply(P, p, nburns, walk_len, | ^ sample_points.cpp:29:13: note: in instantiation of function template specialization 'uniform_sampling_boundary>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, point>>' requested here 29 | uniform_sampling_boundary (randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:383:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 383 | sample_from_polytope(VPcVP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:131:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 131 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/gaussian_cdhr_walk.hpp:82:9: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::initialize>>, BoostRandomNumberGenerator, double>>>' requested here 82 | initialize(P, p, a_i, rng); | ^ include/sampling/random_point_generators.hpp:93:14: note: in instantiation of member function 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::Walk' requested here 93 | Walk walk(P, p, a_i, rng); | ^ include/sampling/sampling.hpp:167:27: note: in instantiation of function template specialization 'GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>::apply>>, BoostRandomNumberGenerator, double>>, point>, double, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 167 | RandomPointGenerator::apply(P, p, a, nburns, walk_len, randPoints, | ^ sample_points.cpp:37:13: note: in instantiation of function template specialization 'gaussian_sampling>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double, point>>' requested here 37 | gaussian_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:383:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 383 | sample_from_polytope(VPcVP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:107:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 107 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:96:18: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::apply>>, BoostRandomNumberGenerator, double>>>' requested here 96 | walk.apply(P, p, a_i, walk_length, rng); | ^ include/sampling/sampling.hpp:167:27: note: in instantiation of function template specialization 'GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>::apply>>, BoostRandomNumberGenerator, double>>, point>, double, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 167 | RandomPointGenerator::apply(P, p, a, nburns, walk_len, randPoints, | ^ sample_points.cpp:37:13: note: in instantiation of function template specialization 'gaussian_sampling>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double, point>>' requested here 37 | gaussian_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:383:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 383 | sample_from_polytope(VPcVP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::initialize>>, BoostRandomNumberGenerator, double>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::Walk>>, BoostRandomNumberGenerator, double>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/sampling/sampling.hpp:52:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>::apply>>, BoostRandomNumberGenerator, double>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 52 | RandomPointGenerator::apply(P, p, nburns, walk_len, randPoints, | ^ sample_points.cpp:40:13: note: in instantiation of function template specialization 'uniform_sampling>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, point>>' requested here 40 | uniform_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:383:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 383 | sample_from_polytope(VPcVP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:17: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::apply>>, BoostRandomNumberGenerator, double>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/sampling/sampling.hpp:52:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>::apply>>, BoostRandomNumberGenerator, double>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 52 | RandomPointGenerator::apply(P, p, nburns, walk_len, randPoints, | ^ sample_points.cpp:40:13: note: in instantiation of function template specialization 'uniform_sampling>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, point>>' requested here 40 | uniform_sampling(randPoints, P, rng, walkL, numpoints, | ^ sample_points.cpp:383:13: note: in instantiation of function template specialization 'sample_from_polytope>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, std::list>>, double, point>>' requested here 383 | sample_from_polytope(VPcVP, rng, randPoints, walkL, numpoints, gaussian, a, L, boundary, StartingPoint, nburns, | ^ In file included from sample_points.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:93:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_plain_dense>' requested here 93 | return eigen_wrap_plain_dense( obj, typename is_dense::type() ) ; | ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:110:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_is_plain>' requested here 110 | return eigen_wrap_is_plain( obj, | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:776:39: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap>' requested here 776 | return ::Rcpp::RcppEigen::eigen_wrap(object); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:787:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_eigen>' requested here 787 | return wrap_dispatch_eigen(object, typename traits::is_eigen_base::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:807:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_unknown_importable>' requested here 807 | return wrap_dispatch_unknown_importable(object, typename ::Rcpp::traits::is_importer::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap_end.h:30:25: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch>' requested here 30 | return internal::wrap_dispatch( object, typename ::Rcpp::traits::wrap_type_traits::wrap_category() ) ; | ^ sample_points.cpp:403:18: note: in instantiation of function template specialization 'Rcpp::wrap>' requested here 403 | return Rcpp::wrap(RetMat); | ^ In file included from sample_points.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from sample_points.cpp:19: include/volume/volume_cooling_gaussians.hpp:166:48: warning: unused typedef 'viterator' [-Wunused-local-typedef] 166 | typedef typename std::vector::iterator viterator; | ^ include/volume/volume_cooling_gaussians.hpp:221:35: warning: unused typedef 'VT' [-Wunused-local-typedef] 221 | typedef typename Polytope::VT VT; | ^ 77 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -Iexternal -Iexternal/lpsolve/headers/run_headers -Iexternal/minimum_ellipsoid -Iinclude -Iinclude/convex_bodies/spectrahedra -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/BH/include' -isystem /opt/R/arm64/include -DBOOST_NO_AUTO_PTR -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c volume.cpp -o volume.o In file included from volume.cpp:10: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from volume.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from volume.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from volume.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from volume.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from volume.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from volume.cpp:12: In file included from /Users/ripley/R/Library/BH/include/boost/random.hpp:36: In file included from /Users/ripley/R/Library/BH/include/boost/random/additive_combine.hpp:22: In file included from /Users/ripley/R/Library/BH/include/boost/config.hpp:48: /Users/ripley/R/Library/BH/include/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:236:22: warning: unused variable 'j' [-Wunused-variable] 236 | unsigned int j; | ^ include/convex_bodies/hpolytope.h:315:22: warning: unused variable 'j' [-Wunused-variable] 315 | unsigned int j; | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: include/convex_bodies/vpolytope.h:411:22: warning: unused variable 'j' [-Wunused-variable] 411 | unsigned int j; | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:52:10: warning: unused variable 'infinite' [-Wunused-variable] 52 | REAL infinite = get_infinite(lp); /* will return 1.0e30 */ | ^~~~~~~~ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from volume.cpp:20: In file included from include/volume/volume_cooling_balls.hpp:13: In file included from /Users/ripley/R/Library/BH/include/boost/math/distributions/students_t.hpp:20: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from volume.cpp:21: include/volume/volume_cooling_hpoly.hpp:45:46: warning: unused variable 'N' [-Wunused-variable] 45 | int n = P.dimension(), m = b_max.size(), N = 1200, iter = 1, count = 0; | ^ include/volume/volume_cooling_hpoly.hpp:45:66: warning: unused variable 'count' [-Wunused-variable] 45 | int n = P.dimension(), m = b_max.size(), N = 1200, iter = 1, count = 0; | ^~~~~ include/volume/volume_cooling_hpoly.hpp:47:19: warning: unused variable 'print' [-Wunused-variable] 47 | bool too_few, print = false; | ^~~~~ include/volume/volume_cooling_hpoly.hpp:108:9: warning: unused variable 'n' [-Wunused-variable] 108 | int n = HP2.dimension(), iter = 1; | ^ volume.cpp:160:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 160 | unsigned seed2 = Rcpp::as(Rcpp::as(settings)["seed"]); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ volume.cpp:306:34: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 306 | unsigned seed3 = Rcpp::as(Rcpp::as(settings)["seed"]); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ volume.cpp:143:39: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 143 | n = Rcpp::as(P.slot("A")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ volume.cpp:146:39: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 146 | n = Rcpp::as(P.slot("V")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ volume.cpp:149:39: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 149 | n = Rcpp::as(P.slot("G")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ volume.cpp:152:40: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 152 | n = Rcpp::as(P.slot("V1")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:19: external/minimum_ellipsoid/khach.h:61:15: warning: implicit conversion loses integer precision: 'typename matrix::size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 61 | int res = lu_factorize(A,pm); | ~~~ ^~~~~~~~~~~~~~~~~~ external/minimum_ellipsoid/khach.h:72:14: note: in instantiation of function template specialization 'InvertMatrix' requested here 72 | bool res=InvertMatrix(Lambdap, LpInv); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:13: In file included from include/random_walks/gaussian_cdhr_walk.hpp:11: include/generators/boost_random_number_generator.hpp:26:74: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'const unsigned int' [-Wshorten-64-to-32] 26 | : _rng(std::chrono::system_clock::now().time_since_epoch().count()) | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ volume.cpp:158:13: note: in instantiation of member function 'BoostRandomNumberGenerator, double>::BoostRandomNumberGenerator' requested here 158 | RNGType rng(n); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:40:15: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 40 | int d = A.cols(); | ~ ~~^~~~~~ include/convex_bodies/hpolytope.h:52:23: note: in instantiation of function template specialization 'ComputeChebychevBall>, Eigen::Matrix, Eigen::Matrix>' requested here 52 | _inner_ball = ComputeChebychevBall(A, b); | ^ volume.cpp:40:44: note: in instantiation of member function 'HPolytope>>::ComputeInnerBall' requested here 40 | std::pair InnerBall = P.ComputeInnerBall(); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:41:26: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 41 | int Ncol=d+1, j, m=A.rows(), i; | ~ ~~^~~~~~ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ volume.cpp:43:25: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, HPolytope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 43 | round_val = round_polytope(P, InnerBall, 10 + 10 * n, rng).second; | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:66:18: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 66 | return A.rows(); | ~~~~~~ ~~^~~~~~ include/random_walks/uniform_cdhr_walk.hpp:84:27: note: in instantiation of member function 'HPolytope>>::num_of_hyperplanes' requested here 84 | _lamdas.setZero(P.num_of_hyperplanes()); | ^ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ volume.cpp:43:25: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, HPolytope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 43 | round_val = round_polytope(P, InnerBall, 10 + 10 * n, rng).second; | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ volume.cpp:43:25: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, HPolytope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 43 | round_val = round_polytope(P, InnerBall, 10 + 10 * n, rng).second; | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:313:12: warning: unused variable 'mult' [-Wunused-variable] 313 | NT mult; | ^~~~ include/convex_bodies/hpolytope.h:363:16: note: in instantiation of member function 'HPolytope>>::line_intersect' requested here 363 | return line_intersect(r, v, Ar, Av, lambda_prev, true); | ^ include/random_walks/uniform_billiard_walk.hpp:316:25: note: in instantiation of member function 'HPolytope>>::line_positive_intersect' requested here 316 | = P.line_positive_intersect(_p, _v, _lambdas, _Av, _lambda_prev); | ^ include/random_walks/uniform_billiard_walk.hpp:221:9: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 221 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ volume.cpp:45:25: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, HPolytope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 45 | round_val = round_polytope(P, InnerBall, 2, rng).second; | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:375:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 375 | unsigned int mm = a_vals.size()-1; | ~~ ~~~~~~~~~~~~~^~ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:435:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 435 | min_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:446:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 446 | max_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:234:70: warning: implicit conversion turns floating-point number into integer: 'double' to 'const unsigned int' [-Wfloat-conversion] 234 | const unsigned int totalSteps = ((int)150/((1.0 - frac) * error))+1; | ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/volume/volume_cooling_gaussians.hpp:357:5: note: in instantiation of function template specialization 'compute_annealing_schedule>>, BoostRandomNumberGenerator, double>>, GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 357 | compute_annealing_schedule | ^ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:131:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 131 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/gaussian_cdhr_walk.hpp:82:9: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 82 | initialize(P, p, a_i, rng); | ^ include/volume/volume_cooling_gaussians.hpp:412:18: note: in instantiation of member function 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk' requested here 412 | WalkType walk(P, p, *avalsIt, rng); | ^ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:107:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 107 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:420:18: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 420 | walk.apply(P, p, *avalsIt, walk_length, rng); | ^ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:375:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 375 | unsigned int mm = a_vals.size()-1; | ~~ ~~~~~~~~~~~~~^~ volume.cpp:54:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 54 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:435:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 435 | min_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:446:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 446 | max_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:234:70: warning: implicit conversion turns floating-point number into integer: 'double' to 'const unsigned int' [-Wfloat-conversion] 234 | const unsigned int totalSteps = ((int)150/((1.0 - frac) * error))+1; | ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/volume/volume_cooling_gaussians.hpp:357:5: note: in instantiation of function template specialization 'compute_annealing_schedule>>, BoostRandomNumberGenerator, double>>, GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 357 | compute_annealing_schedule | ^ volume.cpp:54:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 54 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:375:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 375 | unsigned int mm = a_vals.size()-1; | ~~ ~~~~~~~~~~~~~^~ volume.cpp:56:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 56 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:435:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 435 | min_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:446:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 446 | max_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:234:70: warning: implicit conversion turns floating-point number into integer: 'double' to 'const unsigned int' [-Wfloat-conversion] 234 | const unsigned int totalSteps = ((int)150/((1.0 - frac) * error))+1; | ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/volume/volume_cooling_gaussians.hpp:357:5: note: in instantiation of function template specialization 'compute_annealing_schedule>>, BoostRandomNumberGenerator, double>>, GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 357 | compute_annealing_schedule | ^ volume.cpp:56:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 56 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:214:19: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 214 | int m = A.rows(); | ~ ~~^~~~~~ include/random_walks/gaussian_ball_walk.hpp:84:19: note: in instantiation of member function 'HPolytope>>::is_in' requested here 84 | if (P.is_in(y) == -1) | ^ include/volume/volume_cooling_gaussians.hpp:420:18: note: in instantiation of function template specialization 'GaussianBallWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 420 | walk.apply(P, p, *avalsIt, walk_length, rng); | ^ volume.cpp:56:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 56 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:70:30: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 70 | int m = randPoints.size()/nu; | ~ ~~~~~~~~~~~~~~~~~^~~ include/volume/volume_cooling_balls.hpp:145:16: note: in instantiation of function template specialization 'check_convergence>, HPolytope>>, std::list>>, double>' requested here 145 | pass = check_convergence(P, randPoints, too_few, ratio, | ^ include/volume/volume_cooling_balls.hpp:299:11: note: in instantiation of function template specialization 'get_first_ball>>, Ball>>, double, BoostRandomNumberGenerator, double>>' requested here 299 | if ( !get_first_ball(P, B0, ratio, radius, parameters, rng) ) | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, Ball>>>, Ball>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:70:30: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 70 | int m = randPoints.size()/nu; | ~ ~~~~~~~~~~~~~~~~~^~~ include/volume/volume_cooling_balls.hpp:310:9: note: in instantiation of function template specialization 'check_convergence>, Ball>>, std::list>>, double>' requested here 310 | if (check_convergence(B0, randPoints, | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, Ball>>>, Ball>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>, Ball>>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>, Ball>>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_balls.hpp:331:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, Ball>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 331 | RandomPointGenerator::apply(zb_it, q, Ntot, walk_length, | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, Ball>>>, Ball>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>, Ball>>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/volume/volume_cooling_balls.hpp:331:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, Ball>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 331 | RandomPointGenerator::apply(zb_it, q, Ntot, walk_length, | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, Ball>>>, Ball>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:374:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 374 | , count_in(N * ratio) | ~~~^~~~~~~ include/volume/volume_cooling_balls.hpp:488:35: note: in instantiation of member function 'estimate_ratio_parameters::estimate_ratio_parameters' requested here 488 | estimate_ratio_parameters ratio_parameters(W, Ntot, ratio); | ^ include/volume/volume_cooling_balls.hpp:758:17: note: in instantiation of function template specialization 'estimate_ratio>, Ball>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 758 | estimate_ratio(*(BallSet.end() - 1), | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:400:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 400 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:496:14: note: in instantiation of function template specialization 'estimate_ratio_generic>>, point>, double>' requested here 496 | } while(!estimate_ratio_generic(Pb2, p, error, ratio_parameters)); | ^ include/volume/volume_cooling_balls.hpp:758:17: note: in instantiation of function template specialization 'estimate_ratio>, Ball>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 758 | estimate_ratio(*(BallSet.end() - 1), | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:402:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 402 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:414:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 414 | ratio_parameters.min_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_balls.hpp:425:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 425 | ratio_parameters.max_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_balls.hpp:518:25: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 518 | , count_in(N * ratio) | ~~~^~~~~~~ include/volume/volume_cooling_balls.hpp:622:44: note: in instantiation of member function 'estimate_ratio_interval_parameters::estimate_ratio_interval_parameters' requested here 622 | estimate_ratio_interval_parameters ratio_parameters(W, Ntot, ratio); | ^ include/volume/volume_cooling_balls.hpp:761:17: note: in instantiation of function template specialization 'estimate_ratio_interval>, Ball>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 761 | : estimate_ratio_interval(*(BallSet.end() - 1), | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:541:83: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 541 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:633:9: note: in instantiation of function template specialization 'full_sliding_window>>, point>, double>' requested here 633 | full_sliding_window(Pb2, p, ratio_parameters); | ^ include/volume/volume_cooling_balls.hpp:761:17: note: in instantiation of function template specialization 'estimate_ratio_interval>, Ball>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 761 | : estimate_ratio_interval(*(BallSet.end() - 1), | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:543:61: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 543 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:562:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 562 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:640:14: note: in instantiation of function template specialization 'estimate_ratio_interval_generic>>, point>, double>' requested here 640 | }while (!estimate_ratio_interval_generic(Pb2, p, error, zp, ratio_parameters)); | ^ include/volume/volume_cooling_balls.hpp:761:17: note: in instantiation of function template specialization 'estimate_ratio_interval>, Ball>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 761 | : estimate_ratio_interval(*(BallSet.end() - 1), | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:564:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 564 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:541:83: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 541 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:676:9: note: in instantiation of function template specialization 'full_sliding_window>>, point>, double>' requested here 676 | full_sliding_window(Pb2, p, ratio_parameters); | ^ include/volume/volume_cooling_balls.hpp:775:20: note: in instantiation of function template specialization 'estimate_ratio_interval>>, BoostRandomNumberGenerator, double>>, point>, HPolytope>>, Ball>>, double, BoostRandomNumberGenerator, double>>' requested here 775 | 1 / estimate_ratio_interval | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:543:61: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 543 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:562:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 562 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:683:14: note: in instantiation of function template specialization 'estimate_ratio_interval_generic>>, point>, double>' requested here 683 | }while (!estimate_ratio_interval_generic(Pb2, p, error, zp, ratio_parameters)); | ^ include/volume/volume_cooling_balls.hpp:775:20: note: in instantiation of function template specialization 'estimate_ratio_interval>>, BoostRandomNumberGenerator, double>>, point>, HPolytope>>, Ball>>, double, BoostRandomNumberGenerator, double>>' requested here 775 | 1 / estimate_ratio_interval | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:564:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 564 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:400:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 400 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:468:14: note: in instantiation of function template specialization 'estimate_ratio_generic>>, point>, double>' requested here 468 | } while(!estimate_ratio_generic(Pb2, p, error, ratio_parameters)); | ^ include/volume/volume_cooling_balls.hpp:785:19: note: in instantiation of function template specialization 'estimate_ratio>>, BoostRandomNumberGenerator, double>>, point>, HPolytope>>, Ball>>, double, BoostRandomNumberGenerator, double>>' requested here 785 | : 1 / estimate_ratio | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:402:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 402 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:414:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 414 | ratio_parameters.min_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_balls.hpp:425:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 425 | ratio_parameters.max_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:62:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 62 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:64:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 64 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:66:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 66 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:70:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>' requested here 70 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:72:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>' requested here 72 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:74:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>' requested here 74 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:76:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>' requested here 76 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:261:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 261 | return generic_volume(HP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: include/convex_bodies/vpolytope.h:413:44: warning: unused variable 'pointIt' [-Wunused-variable] 413 | typename std::vector::iterator pointIt; | ^~~~~~~ include/convex_bodies/vpolytope.h:267:14: note: in instantiation of function template specialization 'VPolytope>>::get_points_for_rounding>>>' requested here 267 | if (!get_points_for_rounding(randPoints)) { | ^ volume.cpp:40:44: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 40 | std::pair InnerBall = P.ComputeInnerBall(); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: include/convex_bodies/vpolytope.h:73:18: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 73 | return V.rows(); | ~~~~~~ ~~^~~~~~ include/convex_bodies/vpolytope.h:408:13: note: in instantiation of member function 'VPolytope>>::num_of_vertices' requested here 408 | if (num_of_vertices()>20*_d) { | ^ include/convex_bodies/vpolytope.h:267:14: note: in instantiation of function template specialization 'VPolytope>>::get_points_for_rounding>>>' requested here 267 | if (!get_points_for_rounding(randPoints)) { | ^ volume.cpp:40:44: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 40 | std::pair InnerBall = P.ComputeInnerBall(); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: In file included from include/volume/volume_cooling_gaussians.hpp:21: In file included from include/cartesian_geom/cartesian_kernel.h:25: include/cartesian_geom/point.h:48:24: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 48 | d = coeffs.rows(); | ~ ~~~~~~~^~~~~~ include/convex_bodies/vpolytope.h:415:19: note: in instantiation of member function 'point>::point' requested here 415 | Point p(V.row(i)); | ^ include/convex_bodies/vpolytope.h:267:14: note: in instantiation of function template specialization 'VPolytope>>::get_points_for_rounding>>>' requested here 267 | if (!get_points_for_rounding(randPoints)) { | ^ volume.cpp:40:44: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 40 | std::pair InnerBall = P.ComputeInnerBall(); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:18: include/lp_oracles/vpolyoracles.h:311:8: warning: unused variable 'res' [-Wunused-variable] 311 | NT res; | ^~~ include/convex_bodies/vpolytope.h:297:19: note: in instantiation of function template specialization 'intersect_double_line_Vpoly, point>>' requested here 297 | res = intersect_double_line_Vpoly(V, center, v, row, colno); | ^ volume.cpp:40:44: note: in instantiation of member function 'VPolytope>>::ComputeInnerBall' requested here 40 | std::pair InnerBall = P.ComputeInnerBall(); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:18: include/lp_oracles/vpolyoracles.h:308:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 308 | int m=V.rows(); | ~ ~~^~~~~~ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ volume.cpp:43:25: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, VPolytope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 43 | round_val = round_polytope(P, InnerBall, 10 + 10 * n, rng).second; | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ volume.cpp:43:25: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, VPolytope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 43 | round_val = round_polytope(P, InnerBall, 10 + 10 * n, rng).second; | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:18: include/lp_oracles/vpolyoracles.h:176:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 176 | int m=V.rows(); | ~ ~~^~~~~~ include/convex_bodies/vpolytope.h:342:36: note: in instantiation of function template specialization 'intersect_line_Vpoly, point>>' requested here 342 | return std::pair (intersect_line_Vpoly(V, r, v, conv_comb, row, colno, false, false), 1); | ^ include/convex_bodies/vpolytope.h:347:16: note: in instantiation of member function 'VPolytope>>::line_positive_intersect' requested here 347 | return line_positive_intersect(r, v); | ^ include/random_walks/uniform_billiard_walk.hpp:302:21: note: in instantiation of member function 'VPolytope>>::line_positive_intersect' requested here 302 | = P.line_positive_intersect(_p, _v, _lambdas, _Av); | ^ include/random_walks/uniform_billiard_walk.hpp:221:9: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 221 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ volume.cpp:45:25: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, VPolytope>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 45 | round_val = round_polytope(P, InnerBall, 2, rng).second; | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:375:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 375 | unsigned int mm = a_vals.size()-1; | ~~ ~~~~~~~~~~~~~^~ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:435:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 435 | min_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:446:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 446 | max_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:234:70: warning: implicit conversion turns floating-point number into integer: 'double' to 'const unsigned int' [-Wfloat-conversion] 234 | const unsigned int totalSteps = ((int)150/((1.0 - frac) * error))+1; | ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/volume/volume_cooling_gaussians.hpp:357:5: note: in instantiation of function template specialization 'compute_annealing_schedule>>, BoostRandomNumberGenerator, double>>, GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>, VPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 357 | compute_annealing_schedule | ^ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:131:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 131 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/gaussian_cdhr_walk.hpp:82:9: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 82 | initialize(P, p, a_i, rng); | ^ include/volume/volume_cooling_gaussians.hpp:412:18: note: in instantiation of member function 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk' requested here 412 | WalkType walk(P, p, *avalsIt, rng); | ^ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:107:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 107 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:420:18: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 420 | walk.apply(P, p, *avalsIt, walk_length, rng); | ^ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:375:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 375 | unsigned int mm = a_vals.size()-1; | ~~ ~~~~~~~~~~~~~^~ volume.cpp:54:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 54 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:435:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 435 | min_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:446:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 446 | max_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:234:70: warning: implicit conversion turns floating-point number into integer: 'double' to 'const unsigned int' [-Wfloat-conversion] 234 | const unsigned int totalSteps = ((int)150/((1.0 - frac) * error))+1; | ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/volume/volume_cooling_gaussians.hpp:357:5: note: in instantiation of function template specialization 'compute_annealing_schedule>>, BoostRandomNumberGenerator, double>>, GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>, VPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 357 | compute_annealing_schedule | ^ volume.cpp:54:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 54 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:375:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 375 | unsigned int mm = a_vals.size()-1; | ~~ ~~~~~~~~~~~~~^~ volume.cpp:56:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 56 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:435:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 435 | min_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:446:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 446 | max_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:234:70: warning: implicit conversion turns floating-point number into integer: 'double' to 'const unsigned int' [-Wfloat-conversion] 234 | const unsigned int totalSteps = ((int)150/((1.0 - frac) * error))+1; | ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/volume/volume_cooling_gaussians.hpp:357:5: note: in instantiation of function template specialization 'compute_annealing_schedule>>, BoostRandomNumberGenerator, double>>, GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>, VPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 357 | compute_annealing_schedule | ^ volume.cpp:56:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 56 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:18: include/lp_oracles/vpolyoracles.h:40:29: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 40 | int Ncol=d+1, j, i, m=V.rows(); | ~ ~~^~~~~~ include/convex_bodies/vpolytope.h:310:13: note: in instantiation of function template specialization 'memLP_Vpoly, point>, double>' requested here 310 | if (memLP_Vpoly(V, p, conv_mem, colno_mem)){ | ^ include/random_walks/gaussian_ball_walk.hpp:84:19: note: in instantiation of member function 'VPolytope>>::is_in' requested here 84 | if (P.is_in(y) == -1) | ^ include/volume/volume_cooling_gaussians.hpp:420:18: note: in instantiation of function template specialization 'GaussianBallWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 420 | walk.apply(P, p, *avalsIt, walk_length, rng); | ^ volume.cpp:56:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 56 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:70:30: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 70 | int m = randPoints.size()/nu; | ~ ~~~~~~~~~~~~~~~~~^~~ include/volume/volume_cooling_balls.hpp:145:16: note: in instantiation of function template specialization 'check_convergence>, VPolytope>>, std::list>>, double>' requested here 145 | pass = check_convergence(P, randPoints, too_few, ratio, | ^ include/volume/volume_cooling_balls.hpp:299:11: note: in instantiation of function template specialization 'get_first_ball>>, Ball>>, double, BoostRandomNumberGenerator, double>>' requested here 299 | if ( !get_first_ball(P, B0, ratio, radius, parameters, rng) ) | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, Ball>>>, Ball>>, VPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>, Ball>>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>, Ball>>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_balls.hpp:331:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, Ball>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 331 | RandomPointGenerator::apply(zb_it, q, Ntot, walk_length, | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, Ball>>>, Ball>>, VPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>, Ball>>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/volume/volume_cooling_balls.hpp:331:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, Ball>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 331 | RandomPointGenerator::apply(zb_it, q, Ntot, walk_length, | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, Ball>>>, Ball>>, VPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:400:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 400 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:496:14: note: in instantiation of function template specialization 'estimate_ratio_generic>>, point>, double>' requested here 496 | } while(!estimate_ratio_generic(Pb2, p, error, ratio_parameters)); | ^ include/volume/volume_cooling_balls.hpp:758:17: note: in instantiation of function template specialization 'estimate_ratio>, Ball>>, VPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 758 | estimate_ratio(*(BallSet.end() - 1), | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:402:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 402 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:414:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 414 | ratio_parameters.min_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_balls.hpp:425:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 425 | ratio_parameters.max_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_balls.hpp:541:83: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 541 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:633:9: note: in instantiation of function template specialization 'full_sliding_window>>, point>, double>' requested here 633 | full_sliding_window(Pb2, p, ratio_parameters); | ^ include/volume/volume_cooling_balls.hpp:761:17: note: in instantiation of function template specialization 'estimate_ratio_interval>, Ball>>, VPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 761 | : estimate_ratio_interval(*(BallSet.end() - 1), | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:543:61: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 543 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:562:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 562 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:640:14: note: in instantiation of function template specialization 'estimate_ratio_interval_generic>>, point>, double>' requested here 640 | }while (!estimate_ratio_interval_generic(Pb2, p, error, zp, ratio_parameters)); | ^ include/volume/volume_cooling_balls.hpp:761:17: note: in instantiation of function template specialization 'estimate_ratio_interval>, Ball>>, VPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 761 | : estimate_ratio_interval(*(BallSet.end() - 1), | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:564:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 564 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:62:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 62 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:64:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 64 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:66:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 66 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:70:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>' requested here 70 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:72:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>' requested here 72 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:74:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>' requested here 74 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:76:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>' requested here 76 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:268:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 268 | return generic_volume(VP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: include/convex_bodies/zpolytope.h:69:19: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int k = G.cols(); | ~ ~~^~~~~~ include/convex_bodies/zpolytope.h:192:9: note: in instantiation of member function 'Zonotope>>::compute_eigenvectors' requested here 192 | compute_eigenvectors(V.transpose()); | ^ volume.cpp:274:16: note: in instantiation of member function 'Zonotope>>::init' requested here 274 | ZP.init(n, Rcpp::as(P.slot("G")), VT::Ones(Rcpp::as(P.slot("G")).rows())); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: include/convex_bodies/zpolytope.h:138:18: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 138 | return V.rows(); | ~~~~~~ ~~^~~~~~ volume.cpp:279:27: note: in instantiation of member function 'Zonotope>>::num_of_generators' requested here 279 | } else if (ZP.num_of_generators() / ZP.dimension() < 5) { | ^ In file included from volume.cpp:21: include/volume/volume_cooling_hpoly.hpp:315:27: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 315 | int mm=HPolySet.size()+2; | ~~ ~~~~~~~~~~~~~~~^~ volume.cpp:286:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 286 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:21: include/volume/volume_cooling_hpoly.hpp:228:15: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 228 | int m = G.cols(); | ~ ~~^~~~~~ include/volume/volume_cooling_hpoly.hpp:295:5: note: in instantiation of function template specialization 'compute_hpoly_for_mmc>>, HPolytope>>>' requested here 295 | compute_hpoly_for_mmc(P, HP); | ^ volume.cpp:286:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 286 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:21: include/volume/volume_cooling_hpoly.hpp:45:38: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 45 | int n = P.dimension(), m = b_max.size(), N = 1200, iter = 1, count = 0; | ~ ~~~~~~^~~~~~ include/volume/volume_cooling_hpoly.hpp:297:11: note: in instantiation of function template specialization 'get_first_poly>>, BoostRandomNumberGenerator, double>>>, Zonotope>>, HPolytope>>, double, BoostRandomNumberGenerator, double>, Eigen::Matrix>' requested here 297 | if ( !get_first_poly(P, HP, ratio, parameters, rng, b_max) ) | ^ volume.cpp:286:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 286 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:70:30: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 70 | int m = randPoints.size()/nu; | ~ ~~~~~~~~~~~~~~~~~^~~ include/volume/volume_cooling_hpoly.hpp:66:12: note: in instantiation of function template specialization 'check_convergence>, Zonotope>>, std::list>>, double>' requested here 66 | if(check_convergence(P, randPoints, | ^ include/volume/volume_cooling_hpoly.hpp:297:11: note: in instantiation of function template specialization 'get_first_poly>>, BoostRandomNumberGenerator, double>>>, Zonotope>>, HPolytope>>, double, BoostRandomNumberGenerator, double>, Eigen::Matrix>' requested here 297 | if ( !get_first_poly(P, HP, ratio, parameters, rng, b_max) ) | ^ volume.cpp:286:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 286 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:38:16: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | int Ncol=V.rows(), j, i; | ~~~~ ~~^~~~~~ include/convex_bodies/zpolytope.h:241:12: note: in instantiation of function template specialization 'memLP_Zonotope, point>, double>' requested here 241 | if(memLP_Zonotope(V, p, row_mem, colno_mem)) | ^ include/volume/volume_cooling_balls.hpp:79:15: note: in instantiation of member function 'Zonotope>>::is_in' requested here 79 | if (P.is_in(*pit)==-1) countsIn++; | ^ include/volume/volume_cooling_hpoly.hpp:66:12: note: in instantiation of function template specialization 'check_convergence>, Zonotope>>, std::list>>, double>' requested here 66 | if(check_convergence(P, randPoints, | ^ include/volume/volume_cooling_hpoly.hpp:297:11: note: in instantiation of function template specialization 'get_first_poly>>, BoostRandomNumberGenerator, double>>>, Zonotope>>, HPolytope>>, double, BoostRandomNumberGenerator, double>, Eigen::Matrix>' requested here 297 | if ( !get_first_poly(P, HP, ratio, parameters, rng, b_max) ) | ^ volume.cpp:286:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 286 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_hpoly.hpp:172:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 172 | RandomPointGenerator::apply(Z, q, N_times_nu, walk_length, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ volume.cpp:286:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 286 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:140:8: warning: unused variable 'res' [-Wunused-variable] 140 | NT res; | ^~~ include/convex_bodies/zpolytope.h:331:16: note: in instantiation of function template specialization 'intersect_line_zono, point>>' requested here 331 | return intersect_line_zono(V, r, v, conv_comb, colno); | ^ include/random_walks/uniform_cdhr_walk.hpp:88:37: note: in instantiation of member function 'Zonotope>>::line_intersect_coord' requested here 88 | std::pair bpair = P.line_intersect_coord(_p, _rand_coord, _lamdas); | ^ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_hpoly.hpp:172:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 172 | RandomPointGenerator::apply(Z, q, N_times_nu, walk_length, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ volume.cpp:286:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 286 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:137:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | int m=V.rows(); | ~ ~~^~~~~~ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/volume/volume_cooling_hpoly.hpp:172:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 172 | RandomPointGenerator::apply(Z, q, N_times_nu, walk_length, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ volume.cpp:286:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 286 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>, HPolytope>>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>, HPolytope>>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_hpoly.hpp:195:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, HPolytope>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 195 | RandomPointGenerator::apply(ZHP2, q, N_times_nu, walk_length, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ volume.cpp:286:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 286 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>, HPolytope>>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/volume/volume_cooling_hpoly.hpp:195:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, HPolytope>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 195 | RandomPointGenerator::apply(ZHP2, q, N_times_nu, walk_length, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ volume.cpp:286:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 286 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:541:83: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 541 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:676:9: note: in instantiation of function template specialization 'full_sliding_window>>, point>, double>' requested here 676 | full_sliding_window(Pb2, p, ratio_parameters); | ^ include/volume/volume_cooling_hpoly.hpp:332:16: note: in instantiation of function template specialization 'estimate_ratio_interval>>, BoostRandomNumberGenerator, double>>, point>, HPolytope>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 332 | vol *= estimate_ratio_interval(HP, P, ratio, er0, parameters.win_len, 1200, prob, 10+10*n, rng); | ^ volume.cpp:286:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 286 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:543:61: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 543 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:562:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 562 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:683:14: note: in instantiation of function template specialization 'estimate_ratio_interval_generic>>, point>, double>' requested here 683 | }while (!estimate_ratio_interval_generic(Pb2, p, error, zp, ratio_parameters)); | ^ include/volume/volume_cooling_hpoly.hpp:332:16: note: in instantiation of function template specialization 'estimate_ratio_interval>>, BoostRandomNumberGenerator, double>>, point>, HPolytope>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 332 | vol *= estimate_ratio_interval(HP, P, ratio, er0, parameters.win_len, 1200, prob, 10+10*n, rng); | ^ volume.cpp:286:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 286 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:564:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 564 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:400:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 400 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:468:14: note: in instantiation of function template specialization 'estimate_ratio_generic>>, point>, double>' requested here 468 | } while(!estimate_ratio_generic(Pb2, p, error, ratio_parameters)); | ^ include/volume/volume_cooling_hpoly.hpp:334:16: note: in instantiation of function template specialization 'estimate_ratio>>, BoostRandomNumberGenerator, double>>, point>, HPolytope>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 334 | vol *= estimate_ratio(HP, P, ratio, er0, parameters.win_len, 1200, 10 + 10*n, rng); | ^ volume.cpp:286:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 286 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:402:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 402 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:414:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 414 | ratio_parameters.min_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_balls.hpp:425:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 425 | ratio_parameters.max_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from volume.cpp:21: include/volume/volume_cooling_hpoly.hpp:315:27: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 315 | int mm=HPolySet.size()+2; | ~~ ~~~~~~~~~~~~~~~^~ volume.cpp:288:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 288 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:21: include/volume/volume_cooling_hpoly.hpp:315:27: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 315 | int mm=HPolySet.size()+2; | ~~ ~~~~~~~~~~~~~~~^~ volume.cpp:290:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 290 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:21: include/volume/volume_cooling_hpoly.hpp:315:27: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 315 | int mm=HPolySet.size()+2; | ~~ ~~~~~~~~~~~~~~~^~ volume.cpp:292:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 292 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: include/random_walks/uniform_billiard_walk.hpp:77:15: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 77 | int k = V.rows(), max_index = -1; | ~ ~~^~~~~~ include/random_walks/uniform_billiard_walk.hpp:220:28: note: in instantiation of function template specialization 'compute_diameter>>>::compute' requested here 220 | ::template compute(P); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_hpoly.hpp:172:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 172 | RandomPointGenerator::apply(Z, q, N_times_nu, walk_length, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ volume.cpp:292:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 292 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: include/random_walks/uniform_billiard_walk.hpp:144:15: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 144 | int k = G.cols(), d = P.dimension(); | ~ ~~^~~~~~ include/random_walks/uniform_billiard_walk.hpp:220:28: note: in instantiation of function template specialization 'compute_diameter>>, HPolytope>>>>::compute' requested here 220 | ::template compute(P); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>, HPolytope>>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_hpoly.hpp:195:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, HPolytope>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 195 | RandomPointGenerator::apply(ZHP2, q, N_times_nu, walk_length, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ volume.cpp:292:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 292 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:10: include/random_walks/boundary_cdhr_walk.hpp:73:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 73 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/boundary_cdhr_walk.hpp:31:13: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 31 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:152:14: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 152 | Walk walk(P, p, rng); | ^ include/random_walks/uniform_billiard_walk.hpp:163:32: note: in instantiation of function template specialization 'BoundaryRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 163 | BCdhrRandomPointGenerator::apply(HP, q, 4*d*d, 1, | ^ include/random_walks/uniform_billiard_walk.hpp:220:28: note: in instantiation of function template specialization 'compute_diameter>>, HPolytope>>>>::compute' requested here 220 | ::template compute(P); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>, HPolytope>>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_hpoly.hpp:195:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, HPolytope>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 195 | RandomPointGenerator::apply(ZHP2, q, N_times_nu, walk_length, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ volume.cpp:292:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 292 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:10: include/random_walks/boundary_cdhr_walk.hpp:48:35: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:156:18: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 156 | walk.apply(P, p1, p2, walk_length, rng); | ^ include/random_walks/uniform_billiard_walk.hpp:163:32: note: in instantiation of function template specialization 'BoundaryRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 163 | BCdhrRandomPointGenerator::apply(HP, q, 4*d*d, 1, | ^ include/random_walks/uniform_billiard_walk.hpp:220:28: note: in instantiation of function template specialization 'compute_diameter>>, HPolytope>>>>::compute' requested here 220 | ::template compute(P); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>, HPolytope>>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_hpoly.hpp:195:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, HPolytope>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 195 | RandomPointGenerator::apply(ZHP2, q, N_times_nu, walk_length, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ volume.cpp:292:28: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 292 | return volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:375:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 375 | unsigned int mm = a_vals.size()-1; | ~~ ~~~~~~~~~~~~~^~ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:435:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 435 | min_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:446:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 446 | max_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:234:70: warning: implicit conversion turns floating-point number into integer: 'double' to 'const unsigned int' [-Wfloat-conversion] 234 | const unsigned int totalSteps = ((int)150/((1.0 - frac) * error))+1; | ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/volume/volume_cooling_gaussians.hpp:357:5: note: in instantiation of function template specialization 'compute_annealing_schedule>>, BoostRandomNumberGenerator, double>>, GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 357 | compute_annealing_schedule | ^ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:131:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 131 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/gaussian_cdhr_walk.hpp:82:9: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 82 | initialize(P, p, a_i, rng); | ^ include/volume/volume_cooling_gaussians.hpp:412:18: note: in instantiation of member function 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk' requested here 412 | WalkType walk(P, p, *avalsIt, rng); | ^ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:107:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 107 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:420:18: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 420 | walk.apply(P, p, *avalsIt, walk_length, rng); | ^ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:375:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 375 | unsigned int mm = a_vals.size()-1; | ~~ ~~~~~~~~~~~~~^~ volume.cpp:54:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 54 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:435:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 435 | min_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:446:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 446 | max_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:234:70: warning: implicit conversion turns floating-point number into integer: 'double' to 'const unsigned int' [-Wfloat-conversion] 234 | const unsigned int totalSteps = ((int)150/((1.0 - frac) * error))+1; | ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/volume/volume_cooling_gaussians.hpp:357:5: note: in instantiation of function template specialization 'compute_annealing_schedule>>, BoostRandomNumberGenerator, double>>, GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 357 | compute_annealing_schedule | ^ volume.cpp:54:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 54 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:375:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 375 | unsigned int mm = a_vals.size()-1; | ~~ ~~~~~~~~~~~~~^~ volume.cpp:56:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 56 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:435:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 435 | min_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:446:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 446 | max_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:234:70: warning: implicit conversion turns floating-point number into integer: 'double' to 'const unsigned int' [-Wfloat-conversion] 234 | const unsigned int totalSteps = ((int)150/((1.0 - frac) * error))+1; | ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/volume/volume_cooling_gaussians.hpp:357:5: note: in instantiation of function template specialization 'compute_annealing_schedule>>, BoostRandomNumberGenerator, double>>, GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 357 | compute_annealing_schedule | ^ volume.cpp:56:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 56 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>, Ball>>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>, Ball>>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_balls.hpp:331:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, Ball>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 331 | RandomPointGenerator::apply(zb_it, q, Ntot, walk_length, | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, Ball>>>, Ball>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>, Ball>>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/volume/volume_cooling_balls.hpp:331:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, Ball>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 331 | RandomPointGenerator::apply(zb_it, q, Ntot, walk_length, | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, Ball>>>, Ball>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:62:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 62 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:64:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 64 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:66:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 66 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:70:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>' requested here 70 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:72:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>' requested here 72 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:74:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>' requested here 74 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:76:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>' requested here 76 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:295:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>, double>' requested here 295 | return generic_volume(ZP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:19: include/convex_bodies/vpolyintersectvpoly.h:55:68: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'unsigned int' [-Wshorten-64-to-32] 55 | seed = std::chrono::system_clock::now().time_since_epoch().count(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ volume.cpp:310:23: note: in instantiation of member function 'IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>::init' requested here 310 | VPcVP.init(VP1, VP2); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:19: include/convex_bodies/vpolyintersectvpoly.h:125:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 125 | int k = P1.get_mat().rows() + P2.get_mat().rows(); | ~ ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ volume.cpp:312:24: note: in instantiation of member function 'IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>::is_feasible' requested here 312 | if (!VPcVP.is_feasible()) throw Rcpp::exception("Empty set!"); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:164:25: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 164 | unsigned int d = V1.cols(); | ~ ~~~^~~~~~ include/convex_bodies/vpolyintersectvpoly.h:128:9: note: in instantiation of function template specialization 'PointInIntersection, Eigen::Matrix, point>>' requested here 128 | PointInIntersection(P1.get_mat(), P2.get_mat(), | ^ volume.cpp:312:24: note: in instantiation of member function 'IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>::is_feasible' requested here 312 | if (!VPcVP.is_feasible()) throw Rcpp::exception("Empty set!"); | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:165:26: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 165 | unsigned int k1 = V1.rows(); | ~~ ~~~^~~~~~ include/lp_oracles/solve_lp.h:166:26: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 166 | unsigned int k2 = V2.rows(); | ~~ ~~~^~~~~~ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:19: include/convex_bodies/vpolyintersectvpoly.h:154:22: warning: ISO C++20 considers use of overloaded operator '==' (with operand types 'Point' (aka 'point>') and 'point>') to be ambiguous despite there being a unique best viable function [-Wambiguous-reversed-operator] 154 | if (p==(*rvert)) { | ~^ ~~~~~~~~ volume.cpp:40:44: note: in instantiation of member function 'IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>::ComputeInnerBall' requested here 40 | std::pair InnerBall = P.ComputeInnerBall(); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ include/cartesian_geom/point.h:149:10: note: ambiguity is between a regular call to this operator and a call with the argument order reversed 149 | bool operator== (point& p) const | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:19: include/convex_bodies/vpolyintersectvpoly.h:137:21: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | int k1 = V1.rows(), k2 = V2.rows(); | ~~ ~~~^~~~~~ include/convex_bodies/vpolyintersectvpoly.h:137:37: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 137 | int k1 = V1.rows(), k2 = V2.rows(); | ~~ ~~~^~~~~~ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::initialize>>, BoostRandomNumberGenerator, double>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::Walk>>, BoostRandomNumberGenerator, double>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>::apply>>, BoostRandomNumberGenerator, double>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ volume.cpp:43:25: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 43 | round_val = round_polytope(P, InnerBall, 10 + 10 * n, rng).second; | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::apply>>, BoostRandomNumberGenerator, double>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/volume/rounding.hpp:60:35: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>::apply>>, BoostRandomNumberGenerator, double>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 60 | RandomPointGenerator::apply(P, p, num_of_samples, walk_length, | ^ volume.cpp:43:25: note: in instantiation of function template specialization 'round_polytope, Eigen::Matrix, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, point>, double, BoostRandomNumberGenerator, double>>' requested here 43 | round_val = round_polytope(P, InnerBall, 10 + 10 * n, rng).second; | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:375:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 375 | unsigned int mm = a_vals.size()-1; | ~~ ~~~~~~~~~~~~~^~ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:435:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 435 | min_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:446:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 446 | max_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:234:70: warning: implicit conversion turns floating-point number into integer: 'double' to 'const unsigned int' [-Wfloat-conversion] 234 | const unsigned int totalSteps = ((int)150/((1.0 - frac) * error))+1; | ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/volume/volume_cooling_gaussians.hpp:357:5: note: in instantiation of function template specialization 'compute_annealing_schedule>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>, GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, double, BoostRandomNumberGenerator, double>>' requested here 357 | compute_annealing_schedule | ^ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:131:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 131 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/gaussian_cdhr_walk.hpp:82:9: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::initialize>>, BoostRandomNumberGenerator, double>>>' requested here 82 | initialize(P, p, a_i, rng); | ^ include/volume/volume_cooling_gaussians.hpp:412:18: note: in instantiation of member function 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::Walk' requested here 412 | WalkType walk(P, p, *avalsIt, rng); | ^ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:107:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 107 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:420:18: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::apply>>, BoostRandomNumberGenerator, double>>>' requested here 420 | walk.apply(P, p, *avalsIt, walk_length, rng); | ^ volume.cpp:52:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 52 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:375:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 375 | unsigned int mm = a_vals.size()-1; | ~~ ~~~~~~~~~~~~~^~ volume.cpp:54:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 54 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:435:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 435 | min_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:446:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 446 | max_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:234:70: warning: implicit conversion turns floating-point number into integer: 'double' to 'const unsigned int' [-Wfloat-conversion] 234 | const unsigned int totalSteps = ((int)150/((1.0 - frac) * error))+1; | ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/volume/volume_cooling_gaussians.hpp:357:5: note: in instantiation of function template specialization 'compute_annealing_schedule>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>, GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, double, BoostRandomNumberGenerator, double>>' requested here 357 | compute_annealing_schedule | ^ volume.cpp:54:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 54 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:375:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 375 | unsigned int mm = a_vals.size()-1; | ~~ ~~~~~~~~~~~~~^~ volume.cpp:56:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 56 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:435:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 435 | min_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:446:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 446 | max_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:234:70: warning: implicit conversion turns floating-point number into integer: 'double' to 'const unsigned int' [-Wfloat-conversion] 234 | const unsigned int totalSteps = ((int)150/((1.0 - frac) * error))+1; | ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/volume/volume_cooling_gaussians.hpp:357:5: note: in instantiation of function template specialization 'compute_annealing_schedule>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>, GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, double, BoostRandomNumberGenerator, double>>' requested here 357 | compute_annealing_schedule | ^ volume.cpp:56:19: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 56 | vol = volume_cooling_gaussians(P, rng, e, walk_length); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:70:30: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 70 | int m = randPoints.size()/nu; | ~ ~~~~~~~~~~~~~~~~~^~~ include/volume/volume_cooling_balls.hpp:145:16: note: in instantiation of function template specialization 'check_convergence>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, std::list>>, double>' requested here 145 | pass = check_convergence(P, randPoints, too_few, ratio, | ^ include/volume/volume_cooling_balls.hpp:299:11: note: in instantiation of function template specialization 'get_first_ball>>, BoostRandomNumberGenerator, double>>, Ball>>, double, BoostRandomNumberGenerator, double>>' requested here 299 | if ( !get_first_ball(P, B0, ratio, radius, parameters, rng) ) | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, BoostRandomNumberGenerator, double>>, Ball>>>, Ball>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::initialize>>, BoostRandomNumberGenerator, double>>, Ball>>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::Walk>>, BoostRandomNumberGenerator, double>>, Ball>>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_balls.hpp:331:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>::apply>>, BoostRandomNumberGenerator, double>>, Ball>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 331 | RandomPointGenerator::apply(zb_it, q, Ntot, walk_length, | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, BoostRandomNumberGenerator, double>>, Ball>>>, Ball>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:16: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>::apply>>, BoostRandomNumberGenerator, double>>, Ball>>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/volume/volume_cooling_balls.hpp:331:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>::apply>>, BoostRandomNumberGenerator, double>>, Ball>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 331 | RandomPointGenerator::apply(zb_it, q, Ntot, walk_length, | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, BoostRandomNumberGenerator, double>>, Ball>>>, Ball>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:400:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 400 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:496:14: note: in instantiation of function template specialization 'estimate_ratio_generic>>, BoostRandomNumberGenerator, double>>, point>, double>' requested here 496 | } while(!estimate_ratio_generic(Pb2, p, error, ratio_parameters)); | ^ include/volume/volume_cooling_balls.hpp:758:17: note: in instantiation of function template specialization 'estimate_ratio>, Ball>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, double, BoostRandomNumberGenerator, double>>' requested here 758 | estimate_ratio(*(BallSet.end() - 1), | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:402:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 402 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:414:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 414 | ratio_parameters.min_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_balls.hpp:425:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 425 | ratio_parameters.max_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_balls.hpp:541:83: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 541 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:633:9: note: in instantiation of function template specialization 'full_sliding_window>>, BoostRandomNumberGenerator, double>>, point>, double>' requested here 633 | full_sliding_window(Pb2, p, ratio_parameters); | ^ include/volume/volume_cooling_balls.hpp:761:17: note: in instantiation of function template specialization 'estimate_ratio_interval>, Ball>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, double, BoostRandomNumberGenerator, double>>' requested here 761 | : estimate_ratio_interval(*(BallSet.end() - 1), | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:543:61: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 543 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:562:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 562 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:640:14: note: in instantiation of function template specialization 'estimate_ratio_interval_generic>>, BoostRandomNumberGenerator, double>>, point>, double>' requested here 640 | }while (!estimate_ratio_interval_generic(Pb2, p, error, zp, ratio_parameters)); | ^ include/volume/volume_cooling_balls.hpp:761:17: note: in instantiation of function template specialization 'estimate_ratio_interval>, Ball>>, IntersectionOfVpoly>>, BoostRandomNumberGenerator, double>>, double, BoostRandomNumberGenerator, double>>' requested here 761 | : estimate_ratio_interval(*(BallSet.end() - 1), | ^ volume.cpp:60:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 60 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:564:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 564 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:62:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 62 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:64:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 64 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ volume.cpp:66:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 66 | vol = volume_cooling_balls(P, rng, e, walk_length, win_len); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:70:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 70 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:72:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 72 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:74:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 74 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ volume.cpp:76:19: note: in instantiation of function template specialization 'volume_sequence_of_balls>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>>' requested here 76 | vol = volume_sequence_of_balls(P, rng, e, walk_length); | ^ volume.cpp:313:20: note: in instantiation of function template specialization 'generic_volume>>, BoostRandomNumberGenerator, double>>, BoostRandomNumberGenerator, double>, double>' requested here 313 | return generic_volume(VPcVP, rng, walkL, e, CG, CB, win_len, rounding, | ^ In file included from volume.cpp:18: include/volume/volume_sequence_of_balls.hpp:134:21: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 134 | int nb1 = n * (std::log(radius)/std::log(2.0)); | ~~~ ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:135:19: warning: implicit conversion turns floating-point number into integer: 'double' to 'int' [-Wfloat-conversion] 135 | int nb2 = std::ceil(n * (std::log(max_dist)/std::log(2.0))); | ~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_sequence_of_balls.hpp:179:52: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 179 | unsigned int nump_PBLarge = randPoints.size(); | ~~~~~~~~~~~~ ~~~~~~~~~~~^~~~~~ In file included from volume.cpp:17: include/volume/volume_cooling_gaussians.hpp:166:48: warning: unused typedef 'viterator' [-Wunused-local-typedef] 166 | typedef typename std::vector::iterator viterator; | ^ include/volume/volume_cooling_gaussians.hpp:221:35: warning: unused typedef 'VT' [-Wunused-local-typedef] 221 | typedef typename Polytope::VT VT; | ^ In file included from volume.cpp:20: include/volume/volume_cooling_balls.hpp:707:35: warning: unused typedef 'VT' [-Wunused-local-typedef] 707 | typedef typename Polytope::VT VT; | ^ include/volume/volume_cooling_balls.hpp:708:31: warning: unused typedef 'PointList' [-Wunused-local-typedef] 708 | typedef std::list PointList; | ^ In file included from volume.cpp:21: include/volume/volume_cooling_hpoly.hpp:269:31: warning: unused typedef 'PointList' [-Wunused-local-typedef] 269 | typedef std::list PointList; | ^ volume.cpp:34:30: warning: unused typedef 'Hpolytope' [-Wunused-local-typedef] 34 | typedef HPolytope Hpolytope; | ^ clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -Iexternal -Iexternal/lpsolve/headers/run_headers -Iexternal/minimum_ellipsoid -Iinclude -Iinclude/convex_bodies/spectrahedra -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/BH/include' -isystem /opt/R/arm64/include -DBOOST_NO_AUTO_PTR -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c write_sdpa_format_file.cpp -o write_sdpa_format_file.o In file included from write_sdpa_format_file.cpp:10: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from write_sdpa_format_file.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from write_sdpa_format_file.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from write_sdpa_format_file.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from write_sdpa_format_file.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from write_sdpa_format_file.cpp:11: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from write_sdpa_format_file.cpp:14: In file included from /Users/ripley/R/Library/BH/include/boost/random.hpp:36: In file included from /Users/ripley/R/Library/BH/include/boost/random/additive_combine.hpp:22: In file included from /Users/ripley/R/Library/BH/include/boost/config.hpp:48: /Users/ripley/R/Library/BH/include/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from write_sdpa_format_file.cpp:18: include/convex_bodies/spectrahedra/LMI.h:126:13: warning: unused variable 'at' [-Wunused-variable] 126 | int at = 0; | ^~ In file included from write_sdpa_format_file.cpp:20: include/SDPAFormatManager.h:106:32: warning: unused variable 'sz' [-Wunused-variable] 106 | std::string::size_type sz; | ^~ In file included from write_sdpa_format_file.cpp:18: include/convex_bodies/spectrahedra/LMI.h:59:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 59 | d = matrices.size() - 1; | ~ ~~~~~~~~~~~~~~~~^~~ write_sdpa_format_file.cpp:57:9: note: in instantiation of member function 'LMI, Eigen::Matrix>::LMI' requested here 57 | LMI lmi(matrices); | ^ In file included from write_sdpa_format_file.cpp:18: include/convex_bodies/spectrahedra/LMI.h:60:25: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 60 | m = matrices[0].rows(); | ~ ~~~~~~~~~~~~^~~~~~ In file included from write_sdpa_format_file.cpp:13: In file included from include/cartesian_geom/cartesian_kernel.h:25: include/cartesian_geom/point.h:48:24: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 48 | d = coeffs.rows(); | ~ ~~~~~~~^~~~~~ write_sdpa_format_file.cpp:59:11: note: in instantiation of member function 'point>::point' requested here 59 | Point c(Rcpp::as (objective_function)); | ^ In file included from write_sdpa_format_file.cpp:20: include/SDPAFormatManager.h:223:35: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 223 | int dim = matrices.size() - 1; | ~~~ ~~~~~~~~~~~~~~~~^~~ include/SDPAFormatManager.h:264:9: note: in instantiation of member function 'SdpaFormatManager::writeSDPAFormatFile' requested here 264 | writeSDPAFormatFile(os, spectrahedron.getLMI().getMatrices(), objectiveFunction.getCoefficients()); | ^ write_sdpa_format_file.cpp:66:23: note: in instantiation of function template specialization 'SdpaFormatManager::writeSDPAFormatFile>>' requested here 66 | sdpaFormatManager.writeSDPAFormatFile(os, _spectrahedron, c); | ^ write_sdpa_format_file.cpp:52:28: warning: unused typedef 'RNGType' [-Wunused-local-typedef] 52 | typedef boost::mt19937 RNGType; | ^ 16 warnings generated. clang++ -mmacos-version-min=26 -std=gnu++20 -I"/Users/ripley/R/R-devel/include" -DNDEBUG -Iexternal -Iexternal/lpsolve/headers/run_headers -Iexternal/minimum_ellipsoid -Iinclude -Iinclude/convex_bodies/spectrahedra -I'/Users/ripley/R/Library/Rcpp/include' -I'/Users/ripley/R/Library/RcppEigen/include' -I'/Users/ripley/R/Library/BH/include' -isystem /opt/R/arm64/include -DBOOST_NO_AUTO_PTR -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c zonotope_approximation.cpp -o zonotope_approximation.o In file included from zonotope_approximation.cpp:8: In file included from /Users/ripley/R/Library/Rcpp/include/Rcpp.h:27: In file included from /Users/ripley/R/Library/Rcpp/include/RcppCommon.h:192: /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:71:47: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 71 | return Rf_mkCharLen(st.data(), st.size()); | ~~~~~~~~~~~~ ~~~^~~~~~ In file included from zonotope_approximation.cpp:9: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:26: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseCore:61: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseCore/TriangularSolver.h:273:13: warning: variable 'count' set but not used [-Wunused-but-set-variable] 273 | Index count = 0; | ^ In file included from zonotope_approximation.cpp:9: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/Sparse:29: In file included from /Users/ripley/R/Library/RcppEigen/include/Eigen/SparseLU:35: /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:78:9: warning: variable 'nsuper_et_post' set but not used [-Wunused-but-set-variable] 78 | Index nsuper_et_post = 0; // Number of relaxed snodes in postordered etree | ^ /Users/ripley/R/Library/RcppEigen/include/Eigen/src/SparseLU/SparseLU_heap_relax_snode.h:79:9: warning: variable 'nsuper_et' set but not used [-Wunused-but-set-variable] 79 | Index nsuper_et = 0; // Number of relaxed snodes in the original etree | ^ In file included from zonotope_approximation.cpp:9: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:31: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/IterativeSolvers/IDRS.h:72:10: warning: variable 'replacements' set but not used [-Wunused-but-set-variable] 72 | Index replacements = 0; | ^ In file included from zonotope_approximation.cpp:9: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:25: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigenForward.h:37: In file included from /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/SparseExtra:45: /Users/ripley/R/Library/RcppEigen/include/unsupported/Eigen/src/SparseExtra/MarketIO.h:246:7: warning: variable 'count' set but not used [-Wunused-but-set-variable] 246 | int count = 0; | ^ In file included from zonotope_approximation.cpp:9: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from zonotope_approximation.cpp:10: In file included from /Users/ripley/R/Library/BH/include/boost/random.hpp:36: In file included from /Users/ripley/R/Library/BH/include/boost/random/additive_combine.hpp:22: In file included from /Users/ripley/R/Library/BH/include/boost/config.hpp:48: /Users/ripley/R/Library/BH/include/boost/config/stdlib/libcpp.hpp:98:11: warning: 'BOOST_NO_AUTO_PTR' macro redefined [-Wmacro-redefined] 98 | # define BOOST_NO_AUTO_PTR | ^ :2:9: note: previous definition is here 2 | #define BOOST_NO_AUTO_PTR 1 | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:236:22: warning: unused variable 'j' [-Wunused-variable] 236 | unsigned int j; | ^ include/convex_bodies/hpolytope.h:315:22: warning: unused variable 'j' [-Wunused-variable] 315 | unsigned int j; | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: include/convex_bodies/vpolytope.h:411:22: warning: unused variable 'j' [-Wunused-variable] 411 | unsigned int j; | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:52:10: warning: unused variable 'infinite' [-Wunused-variable] 52 | REAL infinite = get_infinite(lp); /* will return 1.0e30 */ | ^~~~~~~~ In file included from zonotope_approximation.cpp:15: include/volume/volume_sequence_of_balls.hpp:71:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 71 | unsigned int rnum = std::pow(error, -2) * 400 * n * std::log(n); | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~ In file included from zonotope_approximation.cpp:17: In file included from include/volume/volume_cooling_balls.hpp:13: In file included from /Users/ripley/R/Library/BH/include/boost/math/distributions/students_t.hpp:20: /Users/ripley/R/Library/BH/include/boost/math/special_functions/beta.hpp:606:29: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 606 | int shift_c = shift_a + shift_b; | ~~~~~~~ ~~~~~~~~^~~~~~~~~ In file included from zonotope_approximation.cpp:18: include/volume/volume_cooling_hpoly.hpp:45:46: warning: unused variable 'N' [-Wunused-variable] 45 | int n = P.dimension(), m = b_max.size(), N = 1200, iter = 1, count = 0; | ^ include/volume/volume_cooling_hpoly.hpp:45:66: warning: unused variable 'count' [-Wunused-variable] 45 | int n = P.dimension(), m = b_max.size(), N = 1200, iter = 1, count = 0; | ^~~~~ include/volume/volume_cooling_hpoly.hpp:47:19: warning: unused variable 'print' [-Wunused-variable] 47 | bool too_few, print = false; | ^~~~~ include/volume/volume_cooling_hpoly.hpp:108:9: warning: unused variable 'n' [-Wunused-variable] 108 | int n = HP2.dimension(), iter = 1; | ^ zonotope_approximation.cpp:56:26: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 56 | unsigned seed2 = Rcpp::as(seed); | ~~~~~ ^~~~~~~~~~~~~~~~~~~~~~ zonotope_approximation.cpp:44:42: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 44 | int n, k = Rcpp::as(Z.slot("G")).rows(), win_len = 250, walkL = 1; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ zonotope_approximation.cpp:49:39: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 49 | n = Rcpp::as(Z.slot("G")).cols(); | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:19: external/minimum_ellipsoid/khach.h:61:15: warning: implicit conversion loses integer precision: 'typename matrix::size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 61 | int res = lu_factorize(A,pm); | ~~~ ^~~~~~~~~~~~~~~~~~ external/minimum_ellipsoid/khach.h:72:14: note: in instantiation of function template specialization 'InvertMatrix' requested here 72 | bool res=InvertMatrix(Lambdap, LpInv); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:13: In file included from include/random_walks/gaussian_cdhr_walk.hpp:11: include/generators/boost_random_number_generator.hpp:26:74: warning: implicit conversion loses integer precision: 'rep' (aka 'long long') to 'const unsigned int' [-Wshorten-64-to-32] 26 | : _rng(std::chrono::system_clock::now().time_since_epoch().count()) | ~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ zonotope_approximation.cpp:54:13: note: in instantiation of member function 'BoostRandomNumberGenerator, double>::BoostRandomNumberGenerator' requested here 54 | RNGType rng(n); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: include/convex_bodies/zpolytope.h:69:19: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 69 | int k = G.cols(); | ~ ~~^~~~~~ include/convex_bodies/zpolytope.h:192:9: note: in instantiation of member function 'Zonotope>>::compute_eigenvectors' requested here 192 | compute_eigenvectors(V.transpose()); | ^ zonotope_approximation.cpp:91:12: note: in instantiation of member function 'Zonotope>>::init' requested here 91 | ZP.init(n, Rcpp::as(Z.slot("G")), VT::Ones(Rcpp::as(Z.slot("G")).rows())); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: include/convex_bodies/zpolytope.h:138:18: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 138 | return V.rows(); | ~~~~~~ ~~^~~~~~ zonotope_approximation.cpp:95:23: note: in instantiation of member function 'Zonotope>>::num_of_generators' requested here 95 | } else if (ZP.num_of_generators() / ZP.dimension() < 5 ) { | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:752:29: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 752 | int mm = BallSet.size() + 1; | ~~ ~~~~~~~~~~~~~~~^~~ zonotope_approximation.cpp:103:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 103 | vol = volume_cooling_balls(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:18: In file included from include/convex_bodies/vpolytope.h:18: include/lp_oracles/vpolyoracles.h:176:13: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 176 | int m=V.rows(); | ~ ~~^~~~~~ include/convex_bodies/zpolytope.h:260:24: note: in instantiation of function template specialization 'intersect_line_Vpoly, point>>' requested here 260 | min_plus = intersect_line_Vpoly(V, center, v, conv_comb, | ^ include/volume/volume_cooling_balls.hpp:725:24: note: in instantiation of member function 'Zonotope>>::ComputeInnerBall' requested here 725 | auto InnerBall = P.ComputeInnerBall(); | ^ zonotope_approximation.cpp:103:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 103 | vol = volume_cooling_balls(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:70:30: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 70 | int m = randPoints.size()/nu; | ~ ~~~~~~~~~~~~~~~~~^~~ include/volume/volume_cooling_balls.hpp:145:16: note: in instantiation of function template specialization 'check_convergence>, Zonotope>>, std::list>>, double>' requested here 145 | pass = check_convergence(P, randPoints, too_few, ratio, | ^ include/volume/volume_cooling_balls.hpp:299:11: note: in instantiation of function template specialization 'get_first_ball>>, Ball>>, double, BoostRandomNumberGenerator, double>>' requested here 299 | if ( !get_first_ball(P, B0, ratio, radius, parameters, rng) ) | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, Ball>>>, Ball>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ zonotope_approximation.cpp:103:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 103 | vol = volume_cooling_balls(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:20: In file included from include/convex_bodies/zpolytope.h:19: include/lp_oracles/zpolyoracles.h:38:16: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 38 | int Ncol=V.rows(), j, i; | ~~~~ ~~^~~~~~ include/convex_bodies/zpolytope.h:241:12: note: in instantiation of function template specialization 'memLP_Zonotope, point>, double>' requested here 241 | if(memLP_Zonotope(V, p, row_mem, colno_mem)) | ^ include/volume/volume_cooling_balls.hpp:79:15: note: in instantiation of member function 'Zonotope>>::is_in' requested here 79 | if (P.is_in(*pit)==-1) countsIn++; | ^ include/volume/volume_cooling_balls.hpp:145:16: note: in instantiation of function template specialization 'check_convergence>, Zonotope>>, std::list>>, double>' requested here 145 | pass = check_convergence(P, randPoints, too_few, ratio, | ^ include/volume/volume_cooling_balls.hpp:299:11: note: in instantiation of function template specialization 'get_first_ball>>, Ball>>, double, BoostRandomNumberGenerator, double>>' requested here 299 | if ( !get_first_ball(P, B0, ratio, radius, parameters, rng) ) | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, Ball>>>, Ball>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ zonotope_approximation.cpp:103:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 103 | vol = volume_cooling_balls(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: include/random_walks/uniform_billiard_walk.hpp:77:15: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 77 | int k = V.rows(), max_index = -1; | ~ ~~^~~~~~ include/random_walks/uniform_billiard_walk.hpp:220:28: note: in instantiation of function template specialization 'compute_diameter>>>::compute' requested here 220 | ::template compute(P); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_balls.hpp:307:27: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 307 | RandomPointGenerator::apply(P, q, Ntot, walk_length, | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, Ball>>>, Ball>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ zonotope_approximation.cpp:103:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 103 | vol = volume_cooling_balls(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:70:30: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 70 | int m = randPoints.size()/nu; | ~ ~~~~~~~~~~~~~~~~~^~~ include/volume/volume_cooling_balls.hpp:310:9: note: in instantiation of function template specialization 'check_convergence>, Ball>>, std::list>>, double>' requested here 310 | if (check_convergence(B0, randPoints, | ^ include/volume/volume_cooling_balls.hpp:737:11: note: in instantiation of function template specialization 'get_sequence_of_polytopeballs>>, BoostRandomNumberGenerator, double>>>, BallIntersectPolytope>>, Ball>>>, Ball>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 737 | if ( !get_sequence_of_polytopeballs | ^ zonotope_approximation.cpp:103:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 103 | vol = volume_cooling_balls(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:374:24: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 374 | , count_in(N * ratio) | ~~~^~~~~~~ include/volume/volume_cooling_balls.hpp:488:35: note: in instantiation of member function 'estimate_ratio_parameters::estimate_ratio_parameters' requested here 488 | estimate_ratio_parameters ratio_parameters(W, Ntot, ratio); | ^ include/volume/volume_cooling_balls.hpp:758:17: note: in instantiation of function template specialization 'estimate_ratio>, Ball>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 758 | estimate_ratio(*(BallSet.end() - 1), | ^ zonotope_approximation.cpp:103:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 103 | vol = volume_cooling_balls(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:400:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 400 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:496:14: note: in instantiation of function template specialization 'estimate_ratio_generic>>, point>, double>' requested here 496 | } while(!estimate_ratio_generic(Pb2, p, error, ratio_parameters)); | ^ include/volume/volume_cooling_balls.hpp:758:17: note: in instantiation of function template specialization 'estimate_ratio>, Ball>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 758 | estimate_ratio(*(BallSet.end() - 1), | ^ zonotope_approximation.cpp:103:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 103 | vol = volume_cooling_balls(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:402:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 402 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:414:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 414 | ratio_parameters.min_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_balls.hpp:425:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 425 | ratio_parameters.max_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_balls.hpp:518:25: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 518 | , count_in(N * ratio) | ~~~^~~~~~~ include/volume/volume_cooling_balls.hpp:622:44: note: in instantiation of member function 'estimate_ratio_interval_parameters::estimate_ratio_interval_parameters' requested here 622 | estimate_ratio_interval_parameters ratio_parameters(W, Ntot, ratio); | ^ include/volume/volume_cooling_balls.hpp:761:17: note: in instantiation of function template specialization 'estimate_ratio_interval>, Ball>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 761 | : estimate_ratio_interval(*(BallSet.end() - 1), | ^ zonotope_approximation.cpp:103:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 103 | vol = volume_cooling_balls(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:541:83: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 541 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:633:9: note: in instantiation of function template specialization 'full_sliding_window>>, point>, double>' requested here 633 | full_sliding_window(Pb2, p, ratio_parameters); | ^ include/volume/volume_cooling_balls.hpp:761:17: note: in instantiation of function template specialization 'estimate_ratio_interval>, Ball>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 761 | : estimate_ratio_interval(*(BallSet.end() - 1), | ^ zonotope_approximation.cpp:103:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 103 | vol = volume_cooling_balls(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:543:61: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 543 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:562:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 562 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:640:14: note: in instantiation of function template specialization 'estimate_ratio_interval_generic>>, point>, double>' requested here 640 | }while (!estimate_ratio_interval_generic(Pb2, p, error, zp, ratio_parameters)); | ^ include/volume/volume_cooling_balls.hpp:761:17: note: in instantiation of function template specialization 'estimate_ratio_interval>, Ball>>, Zonotope>>, double, BoostRandomNumberGenerator, double>>' requested here 761 | : estimate_ratio_interval(*(BallSet.end() - 1), | ^ zonotope_approximation.cpp:103:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 103 | vol = volume_cooling_balls(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:564:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 564 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:541:83: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 541 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:676:9: note: in instantiation of function template specialization 'full_sliding_window>>, point>, double>' requested here 676 | full_sliding_window(Pb2, p, ratio_parameters); | ^ include/volume/volume_cooling_balls.hpp:775:20: note: in instantiation of function template specialization 'estimate_ratio_interval>>, BoostRandomNumberGenerator, double>>, point>, Zonotope>>, Ball>>, double, BoostRandomNumberGenerator, double>>' requested here 775 | 1 / estimate_ratio_interval | ^ zonotope_approximation.cpp:103:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 103 | vol = volume_cooling_balls(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:543:61: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 543 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:562:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 562 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:683:14: note: in instantiation of function template specialization 'estimate_ratio_interval_generic>>, point>, double>' requested here 683 | }while (!estimate_ratio_interval_generic(Pb2, p, error, zp, ratio_parameters)); | ^ include/volume/volume_cooling_balls.hpp:775:20: note: in instantiation of function template specialization 'estimate_ratio_interval>>, BoostRandomNumberGenerator, double>>, point>, Zonotope>>, Ball>>, double, BoostRandomNumberGenerator, double>>' requested here 775 | 1 / estimate_ratio_interval | ^ zonotope_approximation.cpp:103:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 103 | vol = volume_cooling_balls(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:564:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 564 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:400:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 400 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:468:14: note: in instantiation of function template specialization 'estimate_ratio_generic>>, point>, double>' requested here 468 | } while(!estimate_ratio_generic(Pb2, p, error, ratio_parameters)); | ^ include/volume/volume_cooling_balls.hpp:785:19: note: in instantiation of function template specialization 'estimate_ratio>>, BoostRandomNumberGenerator, double>>, point>, Zonotope>>, Ball>>, double, BoostRandomNumberGenerator, double>>' requested here 785 | : 1 / estimate_ratio | ^ zonotope_approximation.cpp:103:19: note: in instantiation of function template specialization 'volume_cooling_balls>>, BoostRandomNumberGenerator, double>>' requested here 103 | vol = volume_cooling_balls(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:402:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 402 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:414:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 414 | ratio_parameters.min_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_balls.hpp:425:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 425 | ratio_parameters.max_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from zonotope_approximation.cpp:18: include/volume/volume_cooling_hpoly.hpp:315:27: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 315 | int mm=HPolySet.size()+2; | ~~ ~~~~~~~~~~~~~~~^~ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:18: include/volume/volume_cooling_hpoly.hpp:228:15: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 228 | int m = G.cols(); | ~ ~~^~~~~~ include/volume/volume_cooling_hpoly.hpp:295:5: note: in instantiation of function template specialization 'compute_hpoly_for_mmc>>, HPolytope>>>' requested here 295 | compute_hpoly_for_mmc(P, HP); | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:18: include/volume/volume_cooling_hpoly.hpp:45:38: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 45 | int n = P.dimension(), m = b_max.size(), N = 1200, iter = 1, count = 0; | ~ ~~~~~~^~~~~~ include/volume/volume_cooling_hpoly.hpp:297:11: note: in instantiation of function template specialization 'get_first_poly>>, BoostRandomNumberGenerator, double>>>, Zonotope>>, HPolytope>>, double, BoostRandomNumberGenerator, double>, Eigen::Matrix>' requested here 297 | if ( !get_first_poly(P, HP, ratio, parameters, rng, b_max) ) | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:85:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 85 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_hpoly.hpp:61:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 61 | RandomPointGenerator::apply(HPiter, q, 1200, 10+10*n, | ^ include/volume/volume_cooling_hpoly.hpp:297:11: note: in instantiation of function template specialization 'get_first_poly>>, BoostRandomNumberGenerator, double>>>, Zonotope>>, HPolytope>>, double, BoostRandomNumberGenerator, double>, Eigen::Matrix>' requested here 297 | if ( !get_first_poly(P, HP, ratio, parameters, rng, b_max) ) | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:66:18: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 66 | return A.rows(); | ~~~~~~ ~~^~~~~~ include/random_walks/uniform_cdhr_walk.hpp:84:27: note: in instantiation of member function 'HPolytope>>::num_of_hyperplanes' requested here 84 | _lamdas.setZero(P.num_of_hyperplanes()); | ^ include/random_walks/uniform_cdhr_walk.hpp:41:9: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 41 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_hpoly.hpp:61:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 61 | RandomPointGenerator::apply(HPiter, q, 1200, 10+10*n, | ^ include/volume/volume_cooling_hpoly.hpp:297:11: note: in instantiation of function template specialization 'get_first_poly>>, BoostRandomNumberGenerator, double>>>, Zonotope>>, HPolytope>>, double, BoostRandomNumberGenerator, double>, Eigen::Matrix>' requested here 297 | if ( !get_first_poly(P, HP, ratio, parameters, rng, b_max) ) | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:17: include/random_walks/uniform_cdhr_walk.hpp:63:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 63 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:63:18: note: in instantiation of function template specialization 'CDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 63 | walk.apply(P, p, walk_length, rng); | ^ include/volume/volume_cooling_hpoly.hpp:61:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 61 | RandomPointGenerator::apply(HPiter, q, 1200, 10+10*n, | ^ include/volume/volume_cooling_hpoly.hpp:297:11: note: in instantiation of function template specialization 'get_first_poly>>, BoostRandomNumberGenerator, double>>>, Zonotope>>, HPolytope>>, double, BoostRandomNumberGenerator, double>, Eigen::Matrix>' requested here 297 | if ( !get_first_poly(P, HP, ratio, parameters, rng, b_max) ) | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:70:30: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 70 | int m = randPoints.size()/nu; | ~ ~~~~~~~~~~~~~~~~~^~~ include/volume/volume_cooling_hpoly.hpp:175:9: note: in instantiation of function template specialization 'check_convergence>, HPolytope>>, std::list>>, double>' requested here 175 | if (check_convergence(HP, randPoints, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:214:19: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 214 | int m = A.rows(); | ~ ~~^~~~~~ include/volume/volume_cooling_balls.hpp:79:15: note: in instantiation of member function 'HPolytope>>::is_in' requested here 79 | if (P.is_in(*pit)==-1) countsIn++; | ^ include/volume/volume_cooling_hpoly.hpp:175:9: note: in instantiation of function template specialization 'check_convergence>, HPolytope>>, std::list>>, double>' requested here 175 | if (check_convergence(HP, randPoints, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: include/random_walks/uniform_billiard_walk.hpp:144:15: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 144 | int k = G.cols(), d = P.dimension(); | ~ ~~^~~~~~ include/random_walks/uniform_billiard_walk.hpp:220:28: note: in instantiation of function template specialization 'compute_diameter>>, HPolytope>>>>::compute' requested here 220 | ::template compute(P); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>, HPolytope>>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_hpoly.hpp:195:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, HPolytope>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 195 | RandomPointGenerator::apply(ZHP2, q, N_times_nu, walk_length, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:10: include/random_walks/boundary_cdhr_walk.hpp:73:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 73 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/boundary_cdhr_walk.hpp:31:13: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 31 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:152:14: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>>' requested here 152 | Walk walk(P, p, rng); | ^ include/random_walks/uniform_billiard_walk.hpp:163:32: note: in instantiation of function template specialization 'BoundaryRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 163 | BCdhrRandomPointGenerator::apply(HP, q, 4*d*d, 1, | ^ include/random_walks/uniform_billiard_walk.hpp:220:28: note: in instantiation of function template specialization 'compute_diameter>>, HPolytope>>>>::compute' requested here 220 | ::template compute(P); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>, HPolytope>>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_hpoly.hpp:195:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, HPolytope>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 195 | RandomPointGenerator::apply(ZHP2, q, N_times_nu, walk_length, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:10: include/random_walks/boundary_cdhr_walk.hpp:48:35: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 48 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/sampling/random_point_generators.hpp:156:18: note: in instantiation of function template specialization 'BCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 156 | walk.apply(P, p1, p2, walk_length, rng); | ^ include/random_walks/uniform_billiard_walk.hpp:163:32: note: in instantiation of function template specialization 'BoundaryRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 163 | BCdhrRandomPointGenerator::apply(HP, q, 4*d*d, 1, | ^ include/random_walks/uniform_billiard_walk.hpp:220:28: note: in instantiation of function template specialization 'compute_diameter>>, HPolytope>>>>::compute' requested here 220 | ::template compute(P); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>, HPolytope>>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_hpoly.hpp:195:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, HPolytope>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 195 | RandomPointGenerator::apply(ZHP2, q, N_times_nu, walk_length, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: include/convex_bodies/hpolytope.h:313:12: warning: unused variable 'mult' [-Wunused-variable] 313 | NT mult; | ^~~~ include/convex_bodies/hpolytope.h:363:16: note: in instantiation of member function 'HPolytope>>::line_intersect' requested here 363 | return line_intersect(r, v, Ar, Av, lambda_prev, true); | ^ include/convex_bodies/zonoIntersecthpoly.h:134:43: note: in instantiation of member function 'HPolytope>>::line_positive_intersect' requested here 134 | std::pair polypair = HP.line_positive_intersect(r, v, Ar, Av, | ^ include/random_walks/uniform_billiard_walk.hpp:316:25: note: in instantiation of member function 'ZonoIntersectHPoly>>, HPolytope>>>::line_positive_intersect' requested here 316 | = P.line_positive_intersect(_p, _v, _lambdas, _Av, _lambda_prev); | ^ include/random_walks/uniform_billiard_walk.hpp:221:9: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>, HPolytope>>>>' requested here 221 | initialize(P, p, rng); | ^ include/sampling/random_point_generators.hpp:60:14: note: in instantiation of function template specialization 'BilliardWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk>>, HPolytope>>>>' requested here 60 | Walk walk(P, p, rng); | ^ include/volume/volume_cooling_hpoly.hpp:195:31: note: in instantiation of function template specialization 'RandomPointGenerator>>, BoostRandomNumberGenerator, double>>>::apply>>, HPolytope>>>, point>, std::list>>, PushBackWalkPolicy, BoostRandomNumberGenerator, double>>' requested here 195 | RandomPointGenerator::apply(ZHP2, q, N_times_nu, walk_length, | ^ include/volume/volume_cooling_hpoly.hpp:308:11: note: in instantiation of function template specialization 'get_sequence_of_zonopolys>>, BoostRandomNumberGenerator, double>>>, ZonoIntersectHPoly>>, HPolytope>>>, Zonotope>>, HPolytope>>, Eigen::Matrix, double, BoostRandomNumberGenerator, double>>' requested here 308 | if ( !get_sequence_of_zonopolys | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:40:15: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 40 | int d = A.cols(); | ~ ~~^~~~~~ include/convex_bodies/hpolytope.h:52:23: note: in instantiation of function template specialization 'ComputeChebychevBall>, Eigen::Matrix, Eigen::Matrix>' requested here 52 | _inner_ball = ComputeChebychevBall(A, b); | ^ include/volume/volume_cooling_hpoly.hpp:324:42: note: in instantiation of member function 'HPolytope>>::ComputeInnerBall' requested here 324 | std::pair InnerBall = HP2.ComputeInnerBall(); | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:16: In file included from include/random_walks/uniform_billiard_walk.hpp:17: In file included from include/convex_bodies/hpolytope.h:17: include/lp_oracles/solve_lp.h:41:26: warning: implicit conversion loses integer precision: 'Index' (aka 'long') to 'int' [-Wshorten-64-to-32] 41 | int Ncol=d+1, j, m=A.rows(), i; | ~ ~~^~~~~~ In file included from zonotope_approximation.cpp:16: include/volume/volume_cooling_gaussians.hpp:375:36: warning: implicit conversion loses integer precision: 'size_type' (aka 'unsigned long') to 'unsigned int' [-Wshorten-64-to-32] 375 | unsigned int mm = a_vals.size()-1; | ~~ ~~~~~~~~~~~~~^~ include/volume/volume_cooling_hpoly.hpp:329:27: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 329 | NT vol = res.second * volume_cooling_gaussians(HP2, rng, Her/2.0, 1); | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:16: include/volume/volume_cooling_gaussians.hpp:435:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 435 | min_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:446:29: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 446 | max_index = std::distance(last_W.begin(), minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:234:70: warning: implicit conversion turns floating-point number into integer: 'double' to 'const unsigned int' [-Wfloat-conversion] 234 | const unsigned int totalSteps = ((int)150/((1.0 - frac) * error))+1; | ~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ include/volume/volume_cooling_gaussians.hpp:357:5: note: in instantiation of function template specialization 'compute_annealing_schedule>>, BoostRandomNumberGenerator, double>>, GaussianRandomPointGenerator>>, BoostRandomNumberGenerator, double>>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 357 | compute_annealing_schedule | ^ include/volume/volume_cooling_hpoly.hpp:329:27: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 329 | NT vol = res.second * volume_cooling_gaussians(HP2, rng, Her/2.0, 1); | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:131:27: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 131 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/random_walks/gaussian_cdhr_walk.hpp:82:9: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::initialize>>>' requested here 82 | initialize(P, p, a_i, rng); | ^ include/volume/volume_cooling_gaussians.hpp:412:18: note: in instantiation of member function 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::Walk' requested here 412 | WalkType walk(P, p, *avalsIt, rng); | ^ include/volume/volume_cooling_hpoly.hpp:329:27: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 329 | NT vol = res.second * volume_cooling_gaussians(HP2, rng, Her/2.0, 1); | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:14: In file included from include/random_walks/random_walks.hpp:13: include/random_walks/gaussian_cdhr_walk.hpp:107:31: warning: implicit conversion turns floating-point number into integer: 'double' to 'unsigned int' [-Wfloat-conversion] 107 | _rand_coord = rng.sample_uidist(); | ~ ~~~~^~~~~~~~~~~~~~~ include/volume/volume_cooling_gaussians.hpp:420:18: note: in instantiation of function template specialization 'GaussianCDHRWalk::Walk>>, BoostRandomNumberGenerator, double>>::apply>>>' requested here 420 | walk.apply(P, p, *avalsIt, walk_length, rng); | ^ include/volume/volume_cooling_hpoly.hpp:329:27: note: in instantiation of function template specialization 'volume_cooling_gaussians>>, BoostRandomNumberGenerator, double>>' requested here 329 | NT vol = res.second * volume_cooling_gaussians(HP2, rng, Her/2.0, 1); | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:541:83: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 541 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:676:9: note: in instantiation of function template specialization 'full_sliding_window>>, point>, double>' requested here 676 | full_sliding_window(Pb2, p, ratio_parameters); | ^ include/volume/volume_cooling_hpoly.hpp:341:29: note: in instantiation of function template specialization 'estimate_ratio_interval>>, BoostRandomNumberGenerator, double>>, point>, Zonotope>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 341 | vol = vol / estimate_ratio_interval(P, HP, ratios[0], er1, parameters.win_len, N_times_nu, | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:543:61: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 543 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:562:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 562 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:683:14: note: in instantiation of function template specialization 'estimate_ratio_interval_generic>>, point>, double>' requested here 683 | }while (!estimate_ratio_interval_generic(Pb2, p, error, zp, ratio_parameters)); | ^ include/volume/volume_cooling_hpoly.hpp:341:29: note: in instantiation of function template specialization 'estimate_ratio_interval>>, BoostRandomNumberGenerator, double>>, point>, Zonotope>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 341 | vol = vol / estimate_ratio_interval(P, HP, ratios[0], er1, parameters.win_len, N_times_nu, | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:564:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 564 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:400:87: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 400 | if (Pb2.is_in(p) == -1) ratio_parameters.count_in = ratio_parameters.count_in + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:468:14: note: in instantiation of function template specialization 'estimate_ratio_generic>>, point>, double>' requested here 468 | } while(!estimate_ratio_generic(Pb2, p, error, ratio_parameters)); | ^ include/volume/volume_cooling_hpoly.hpp:344:29: note: in instantiation of function template specialization 'estimate_ratio>>, BoostRandomNumberGenerator, double>>, point>, Zonotope>>, HPolytope>>, double, BoostRandomNumberGenerator, double>>' requested here 344 | vol = vol / estimate_ratio(P, HP, ratios[0], er1, parameters.win_len, N_times_nu, | ^ zonotope_approximation.cpp:105:19: note: in instantiation of function template specialization 'volume_cooling_hpoly>>, Zonotope>>, BoostRandomNumberGenerator, double>>' requested here 105 | vol = volume_cooling_hpoly(ZP, rng, e, walkL, win_len); | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:402:65: warning: implicit conversion turns floating-point number into integer: 'double' to 'size_t' (aka 'unsigned long') [-Wfloat-conversion] 402 | ratio_parameters.tot_count = ratio_parameters.tot_count + 1.0; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ include/volume/volume_cooling_balls.hpp:414:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 414 | ratio_parameters.min_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ include/volume/volume_cooling_balls.hpp:425:42: warning: implicit conversion loses integer precision: 'typename iterator_traits<__wrap_iter>::difference_type' (aka 'long') to 'unsigned int' [-Wshorten-64-to-32] 425 | ratio_parameters.max_index = std::distance(ratio_parameters.last_W.begin(), ratio_parameters.minmaxIt); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from zonotope_approximation.cpp:9: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:56:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 56 | d[0] = m; | ~ ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:93:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_plain_dense>' requested here 93 | return eigen_wrap_plain_dense( obj, typename is_dense::type() ) ; | ^ /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:110:20: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap_is_plain>' requested here 110 | return eigen_wrap_is_plain( obj, | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:776:39: note: in instantiation of function template specialization 'Rcpp::RcppEigen::eigen_wrap>' requested here 776 | return ::Rcpp::RcppEigen::eigen_wrap(object); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:787:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_eigen>' requested here 787 | return wrap_dispatch_eigen(object, typename traits::is_eigen_base::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap.h:807:20: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch_unknown_importable>' requested here 807 | return wrap_dispatch_unknown_importable(object, typename ::Rcpp::traits::is_importer::type()); | ^ /Users/ripley/R/Library/Rcpp/include/Rcpp/internal/wrap_end.h:30:25: note: in instantiation of function template specialization 'Rcpp::internal::wrap_dispatch>' requested here 30 | return internal::wrap_dispatch( object, typename ::Rcpp::traits::wrap_type_traits::wrap_category() ) ; | ^ zonotope_approximation.cpp:110:58: note: in instantiation of function template specialization 'Rcpp::wrap>' requested here 110 | return Rcpp::List::create(Rcpp::Named("Mat") = Rcpp::wrap(Mat), Rcpp::Named("fit_ratio") = ratio); | ^ In file included from zonotope_approximation.cpp:9: In file included from /Users/ripley/R/Library/RcppEigen/include/RcppEigen.h:27: /Users/ripley/R/Library/RcppEigen/include/RcppEigenWrap.h:57:24: warning: implicit conversion loses integer precision: 'R_xlen_t' (aka 'long') to 'int' [-Wshorten-64-to-32] 57 | d[1] = n; | ~ ^ In file included from zonotope_approximation.cpp:16: include/volume/volume_cooling_gaussians.hpp:166:48: warning: unused typedef 'viterator' [-Wunused-local-typedef] 166 | typedef typename std::vector::iterator viterator; | ^ include/volume/volume_cooling_gaussians.hpp:221:35: warning: unused typedef 'VT' [-Wunused-local-typedef] 221 | typedef typename Polytope::VT VT; | ^ In file included from zonotope_approximation.cpp:17: include/volume/volume_cooling_balls.hpp:707:35: warning: unused typedef 'VT' [-Wunused-local-typedef] 707 | typedef typename Polytope::VT VT; | ^ include/volume/volume_cooling_balls.hpp:708:31: warning: unused typedef 'PointList' [-Wunused-local-typedef] 708 | typedef std::list PointList; | ^ In file included from zonotope_approximation.cpp:18: include/volume/volume_cooling_hpoly.hpp:269:31: warning: unused typedef 'PointList' [-Wunused-local-typedef] 269 | typedef std::list PointList; | ^ 269 warnings generated. 85 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c colamd.c -o colamd.o clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_MDO.c -o lp_MDO.o In file included from lp_MDO.c:22: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ 3 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_mipbb.c -o lp_mipbb.o In file included from lp_mipbb.c:30: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ 3 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_rlp.c -o lp_rlp.o lp_rlp.c:184:12: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 184 | result = fread( (char*)buf, sizeof(char), max_size, (FILE *)fpin); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from lp_rlp.c:205: ../../headers/include/lp_rlp.h:891:31: warning: implicit conversion loses integer precision: 'const flex_int32_t' (aka 'const int') to 'YY_CHAR' (aka 'unsigned char') [-Wimplicit-int-conversion] 891 | register YY_CHAR lp_yy_c = lp_yy_ec[YY_SC_TO_UI(*lp_yy_cp)]; | ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../headers/include/lp_rlp.h:901:16: warning: implicit conversion loses integer precision: 'const flex_int32_t' (aka 'const int') to 'YY_CHAR' (aka 'unsigned char') [-Wimplicit-int-conversion] 901 | lp_yy_c = lp_yy_meta[(unsigned int) lp_yy_c]; | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../headers/include/lp_rlp.h:917:3: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 917 | YY_DO_BEFORE_ACTION; | ^~~~~~~~~~~~~~~~~~~ ../../headers/include/lp_rlp.h:366:14: note: expanded from macro 'YY_DO_BEFORE_ACTION' 366 | lp_yyleng = (size_t) (lp_yy_cp - lp_yy_bp); \ | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../headers/include/lp_rlp.h:1469:62: warning: implicit conversion loses integer precision: 'lp_yy_size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1468 | int num_to_read = | ~~~~~~~~~~~ 1469 | YY_CURRENT_BUFFER_LVALUE->lp_yy_buf_size - number_to_move - 1; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ ../../headers/include/lp_rlp.h:1482:38: warning: implicit conversion loses integer precision: 'lp_yy_size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1482 | int new_size = b->lp_yy_buf_size * 2; | ~~~~~~~~ ~~~~~~~~~~~~~~~~~~^~~ ../../headers/include/lp_rlp.h:1504:22: warning: implicit conversion loses integer precision: 'lp_yy_size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1503 | num_to_read = YY_CURRENT_BUFFER_LVALUE->lp_yy_buf_size - | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1504 | number_to_move - 1; | ~~~~~~~~~~~~~~~^~~ ../../headers/include/lp_rlp.h:1513:27: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1512 | YY_INPUT( (&YY_CURRENT_BUFFER_LVALUE->lp_yy_ch_buf[number_to_move]), | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1513 | lp_yyg->lp_yy_n_chars, (size_t) num_to_read ); | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ lp_rlp.c:133:77: note: expanded from macro 'YY_INPUT' 133 | #define YY_INPUT(buf,result,max_size) result = lp_input((void *) PARM, buf, max_size); | ~~~~~~~~ ^~~~~~~~ In file included from lp_rlp.c:205: ../../headers/include/lp_rlp.h:1567:43: warning: implicit conversion loses integer precision: 'const flex_int32_t' (aka 'const int') to 'YY_CHAR' (aka 'unsigned char') [-Wimplicit-int-conversion] 1567 | register YY_CHAR lp_yy_c = (*lp_yy_cp ? lp_yy_ec[YY_SC_TO_UI(*lp_yy_cp)] : 1); | ~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../headers/include/lp_rlp.h:1577:15: warning: implicit conversion loses integer precision: 'const flex_int32_t' (aka 'const int') to 'YY_CHAR' (aka 'unsigned char') [-Wimplicit-int-conversion] 1577 | lp_yy_c = lp_yy_meta[(unsigned int) lp_yy_c]; | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../headers/include/lp_rlp.h:1606:14: warning: implicit conversion loses integer precision: 'const flex_int32_t' (aka 'const int') to 'YY_CHAR' (aka 'unsigned char') [-Wimplicit-int-conversion] 1606 | lp_yy_c = lp_yy_meta[(unsigned int) lp_yy_c]; | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../../headers/include/lp_rlp.h:1639:54: warning: implicit conversion loses integer precision: 'lp_yy_size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 1639 | lp_yyg->lp_yy_n_chars = YY_CURRENT_BUFFER_LVALUE->lp_yy_buf_size; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ../../headers/include/lp_rlp.h:1681:39: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 1681 | int offset = lp_yyg->lp_yy_c_buf_p - lp_yyg->lp_yytext_ptr; | ~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ ../../headers/include/lp_rlp.h:2001:49: warning: implicit conversion loses integer precision: 'size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 2001 | num_to_alloc = lp_yyg->lp_yy_buffer_stack_max + grow_size; | ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~ ../../headers/include/lp_rlp.h:2039:24: warning: implicit conversion loses integer precision: 'lp_yy_size_t' (aka 'unsigned long') to 'int' [-Wshorten-64-to-32] 2039 | b->lp_yy_n_chars = b->lp_yy_buf_size; | ~ ~~~^~~~~~~~~~~~~~ ../../headers/include/lp_rlp.h:2061:35: warning: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Wshorten-64-to-32] 2061 | return lp_yy_scan_bytes(lp_yystr,strlen(lp_yystr) ,lp_yyscanner); | ~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~ lp_rlp.c:1395:15: warning: implicit conversion loses integer precision: 'int' to 'lp_yytype_int16' (aka 'short') [-Wimplicit-int-conversion] 1395 | *lp_yyssp = lp_yystate; | ~ ^~~~~~~~~~ lp_rlp.c:1320:5: warning: variable 'lp_yynerrs' set but not used [-Wunused-but-set-variable] 1320 | int lp_yynerrs; | ^ 18 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c mmio.c -o mmio.o mmio.c:26:9: warning: variable 'x' set but not used [-Wunused-but-set-variable] 26 | int x; | ^ 1 warning generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c commonlib.c -o commonlib.o In file included from commonlib.c:29: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ commonlib.c:86:10: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] 86 | *s = toupper(*s); | ~ ^~~~~~~~~~~ commonlib.c:94:10: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] 94 | *s = tolower(*s); | ~ ^~~~~~~~~~~ commonlib.c:102:12: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] 102 | *t = toupper(*s); | ~ ^~~~~~~~~~~ commonlib.c:113:12: warning: implicit conversion loses integer precision: 'int' to 'char' [-Wimplicit-int-conversion] 113 | *t = tolower(*s); | ~ ^~~~~~~~~~~ commonlib.c:878:7: warning: unused variable 'i' [-Wunused-variable] 878 | int i; | ^ 8 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_MPS.c -o lp_MPS.o In file included from lp_MPS.c:5: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ lp_MPS.c:1184:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] 1184 | int n=15; | ^ lp_MPS.c:1203:9: warning: unused variable 'n' [-Wunused-variable] 1203 | int n=13; | ^ lp_MPS.c:1224:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] 1224 | int n=15; | ^ lp_MPS.c:1243:9: warning: unused variable 'n' [-Wunused-variable] 1243 | int n=13; | ^ lp_MPS.c:1428:8: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 1428 | if(a) { | ~~ ^ lp_MPS.c:1453:8: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 1453 | if(a) { | ~~ ^ 9 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_params.c -o lp_params.o In file included from lp_params.c:15: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ lp_params.c:321:11: warning: variable 'a' set but not used [-Wunused-but-set-variable] 321 | LPSREAL a = 0; | ^ lp_params.c:338:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 338 | ret = functions[i].get_function.long_get_function(lp); | ~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lp_params.c:618:36: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 618 | intvalue = strtol(ptr1, &ptr2, 10); | ~ ^~~~~~~~~~~~~~~~~~~~~~~ 6 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_scale.c -o lp_scale.o In file included from lp_scale.c:3: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ lp_scale.c:366:19: warning: variable 'error' set but not used [-Wunused-but-set-variable] 366 | double check, error; | ^ lp_scale.c:150:10: warning: variable 'qkm2' set but not used [-Wunused-but-set-variable] 150 | qkm2, qkqkm1, ekm2, ekekm1, | ^ lp_scale.c:150:24: warning: variable 'ekm2' set but not used [-Wunused-but-set-variable] 150 | qkm2, qkqkm1, ekm2, ekekm1, | ^ lp_scale.c:632:16: warning: variable 'colMax' set but not used [-Wunused-but-set-variable] 632 | int i,j, colMax, nz; | ^ 7 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_SOS.c -o lp_SOS.o In file included from lp_SOS.c:3: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ 3 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_presolve.c -o lp_presolve.o In file included from lp_presolve.c:36: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ lp_presolve.c:466:51: warning: variable 'n' set but not used [-Wunused-but-set-variable] 466 | int colnr, ix, ie, nx, jx, je, *cols, *rows, n; | ^ lp_presolve.c:789:41: warning: variable 'countC' set but not used [-Wunused-but-set-variable] 789 | int status = RUNNING, countR = 0, countC = 0, | ^ lp_presolve.c:1997:18: warning: variable 'isMI' set but not used [-Wunused-but-set-variable] 1997 | MYBOOL hasOF, isMI, isDualFREE = TRUE; | ^ lp_presolve.c:4835:31: warning: variable 'unbounded' set but not used [-Wunused-but-set-variable] 4835 | MYBOOL candelete, isOFNZ, unbounded, | ^ lp_presolve.c:4842:46: warning: variable 'item' set but not used [-Wunused-but-set-variable] 4842 | status = RUNNING, ix, j, countNZ, item; | ^ lp_presolve.c:381:15: warning: unused function 'presolve_mustupdate' [-Wunused-function] 381 | INLINE MYBOOL presolve_mustupdate(lprec *lp, int colnr) | ^~~~~~~~~~~~~~~~~~~ 9 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_simplex.c -o lp_simplex.o In file included from lp_simplex.c:27: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ lp_simplex.c:997:13: warning: variable 'epsvalue' set but not used [-Wunused-but-set-variable] 997 | LPSREAL epsvalue, xviolated, cviolated, | ^ In file included from lp_simplex.c:32: ../../headers/include/lp_presolve.h:99:12: warning: unused function 'presolve_nextrow' [-Wunused-function] 99 | INLINE int presolve_nextrow(presolverec *psdata, int colnr, int *previtem); | ^~~~~~~~~~~~~~~~ ../../headers/include/lp_presolve.h:100:12: warning: unused function 'presolve_nextcol' [-Wunused-function] 100 | INLINE int presolve_nextcol(presolverec *psdata, int rownr, int *previtem); | ^~~~~~~~~~~~~~~~ ../../headers/include/lp_presolve.h:110:12: warning: unused function 'presolve_rowlength' [-Wunused-function] 110 | INLINE int presolve_rowlength(presolverec *psdata, int rownr) | ^~~~~~~~~~~~~~~~~~ ../../headers/include/lp_presolve.h:119:12: warning: unused function 'presolve_collength' [-Wunused-function] 119 | INLINE int presolve_collength(presolverec *psdata, int colnr) | ^~~~~~~~~~~~~~~~~~ In file included from lp_simplex.c:33: ../../headers/include/lp_price.h:48:16: warning: unused function 'normalizeEdge' [-Wunused-function] 48 | INLINE LPSREAL normalizeEdge(lprec *lp, int item, LPSREAL edge, MYBOOL isdual); | ^~~~~~~~~~~~~ In file included from lp_simplex.c:34: ../../headers/include/lp_pricePSE.h:23:15: warning: unused function 'applyPricer' [-Wunused-function] 23 | INLINE MYBOOL applyPricer(lprec *lp); | ^~~~~~~~~~~ 10 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c yacc_read.c -o yacc_read.o yacc_read.c:459:8: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 459 | if(value) { | ~~ ^~~~~ yacc_read.c:469:8: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 469 | if(value) { | ~~ ^~~~~ yacc_read.c:483:11: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 483 | else if(value) { | ~~ ^~~~~ yacc_read.c:455:43: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 455 | if (((h_tab_p = puthash(variable, pp->Columns, NULL, pp->Hash_tab)) == NULL) | ~~~~~~~ ~~~~^~~~~~~ yacc_read.c:671:13: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 671 | row = pp->Rows; | ~ ~~~~^~~~ yacc_read.c:713:54: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 713 | if ((h_tab_p = puthash(pp->tmp_store.name, pp->Columns, NULL, pp->Hash_tab)) == NULL) { | ~~~~~~~ ~~~~^~~~~~~ yacc_read.c:808:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 808 | row = pp->Rows; | ~ ~~~~^~~~ yacc_read.c:840:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 840 | for(i = pp->Rows; (i >= 0) && (rp != NULL); i--) { | ~ ~~~~^~~~ yacc_read.c:858:15: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 858 | for(i = pp->Rows; i >= 0; i--) { | ~ ~~~~^~~~ yacc_read.c:1129:17: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 1129 | for(i = pp->Rows; i > 0; i--) | ~ ~~~~^~~~ yacc_read.c:1167:26: warning: implicit conversion loses integer precision: 'long' to 'int' [-Wshorten-64-to-32] 1167 | lp = make_lp(pp->Rows, 0); | ~~~~~~~ ~~~~^~~~ 11 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c ini.c -o ini.o clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_crash.c -o lp_crash.o In file included from lp_crash.c:21: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ 3 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_price.c -o lp_price.o In file included from lp_price.c:3: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ lp_price.c:47:7: warning: variable 'currentcolno' set but not used [-Wunused-but-set-variable] 47 | int currentcolno, currentvarno = current->varno, | ^ lp_price.c:48:7: warning: variable 'candidatecolno' set but not used [-Wunused-but-set-variable] 48 | candidatecolno, candidatevarno = candidate->varno; | ^ lp_price.c:160:10: warning: variable 'currentcolno' set but not used [-Wunused-but-set-variable] 160 | int currentcolno, currentvarno = current->varno, | ^ lp_price.c:161:10: warning: variable 'candidatecolno' set but not used [-Wunused-but-set-variable] 161 | candidatecolno, candidatevarno = candidate->varno; | ^ lp_price.c:663:24: warning: variable 'nz' set but not used [-Wunused-but-set-variable] 663 | int i, j, ib, ie, nz, nc; | ^ lp_price.c:1561:15: warning: variable 'blockdata' set but not used [-Wunused-but-set-variable] 1561 | partialrec *blockdata; | ^ In file included from lp_price.c:6: ../../headers/include/lp_pricePSE.h:23:15: warning: unused function 'applyPricer' [-Wunused-function] 23 | INLINE MYBOOL applyPricer(lprec *lp); | ^~~~~~~~~~~ 10 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_utils.c -o lp_utils.o In file included from lp_utils.c:4: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ In file included from lp_utils.c:9: ../../headers/include/lp_bit.h:18:15: warning: unused function 'set_biton' [-Wunused-function] 18 | MYINLINE void set_biton(MYBOOL *bitarray, int item) | ^~~~~~~~~ ../../headers/include/lp_bit.h:23:15: warning: unused function 'set_bitoff' [-Wunused-function] 23 | MYINLINE void set_bitoff(MYBOOL *bitarray, int item) | ^~~~~~~~~~ ../../headers/include/lp_bit.h:28:17: warning: unused function 'is_biton' [-Wunused-function] 28 | MYINLINE MYBOOL is_biton(MYBOOL *bitarray, int item) | ^~~~~~~~ 6 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_Hash.c -o lp_Hash.o clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_lib.c -o lp_lib.o In file included from lp_lib.c:42: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ lp_lib.c:1242:26: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1242 | if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) { | ~~~~~~~~~~~~~~~~~^~~~~~~ lp_lib.c:1242:26: note: remove extraneous parentheses around the comparison to silence this warning 1242 | if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) { | ~ ^ ~ lp_lib.c:1242:26: note: use '=' to turn this equality comparison into an assignment 1242 | if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) { | ^~ | = lp_lib.c:1248:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] 1248 | if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) | ~~~~~~~~~~~~~~~~~^~~~~~~ lp_lib.c:1248:28: note: remove extraneous parentheses around the comparison to silence this warning 1248 | if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) | ~ ^ ~ lp_lib.c:1248:28: note: use '=' to turn this equality comparison into an assignment 1248 | if((lp->objfromvalue == NULL) /* || (lp->objtillvalue == NULL) */) | ^~ | = lp_lib.c:4416:30: warning: variable 'aREAL' set but not used [-Wunused-but-set-variable] 4416 | int aBIN = 0, aINT = 0, aREAL = 0, | ^ lp_lib.c:6057:10: warning: variable 'newrow' set but not used [-Wunused-but-set-variable] 6057 | MYBOOL newrow; | ^ lp_lib.c:6122:10: warning: variable 'newcol' set but not used [-Wunused-but-set-variable] 6122 | MYBOOL newcol; | ^ lp_lib.c:7023:17: warning: variable 'k' set but not used [-Wunused-but-set-variable] 7023 | int i, ii, k = 0; | ^ lp_lib.c:9004:55: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 9004 | else if((is_chsign(lp, 0) == is_chsign(lp, i)) && lp->duals[i]) | ~~ ^~~~~~~~~~~~ lp_lib.c:8974:26: warning: variable 'dualOF' set but not used [-Wunused-but-set-variable] 8974 | LPSREAL scale0, value, dualOF; | ^ In file included from lp_lib.c:49: ../../headers/include/lp_presolve.h:99:12: warning: unused function 'presolve_nextrow' [-Wunused-function] 99 | INLINE int presolve_nextrow(presolverec *psdata, int colnr, int *previtem); | ^~~~~~~~~~~~~~~~ ../../headers/include/lp_presolve.h:100:12: warning: unused function 'presolve_nextcol' [-Wunused-function] 100 | INLINE int presolve_nextcol(presolverec *psdata, int rownr, int *previtem); | ^~~~~~~~~~~~~~~~ ../../headers/include/lp_presolve.h:110:12: warning: unused function 'presolve_rowlength' [-Wunused-function] 110 | INLINE int presolve_rowlength(presolverec *psdata, int rownr) | ^~~~~~~~~~~~~~~~~~ ../../headers/include/lp_presolve.h:119:12: warning: unused function 'presolve_collength' [-Wunused-function] 119 | INLINE int presolve_collength(presolverec *psdata, int colnr) | ^~~~~~~~~~~~~~~~~~ In file included from lp_lib.c:55: ../../headers/include/lp_bit.h:23:15: warning: unused function 'set_bitoff' [-Wunused-function] 23 | MYINLINE void set_bitoff(MYBOOL *bitarray, int item) | ^~~~~~~~~~ In file included from lp_lib.c:82: ../../headers/include/lp_price.h:48:16: warning: unused function 'normalizeEdge' [-Wunused-function] 48 | INLINE LPSREAL normalizeEdge(lprec *lp, int item, LPSREAL edge, MYBOOL isdual); | ^~~~~~~~~~~~~ In file included from lp_lib.c:83: ../../headers/include/lp_pricePSE.h:23:15: warning: unused function 'applyPricer' [-Wunused-function] 23 | INLINE MYBOOL applyPricer(lprec *lp); | ^~~~~~~~~~~ 18 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_pricePSE.c -o lp_pricePSE.o In file included from lp_pricePSE.c:3: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ 3 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_wlp.c -o lp_wlp.o In file included from lp_wlp.c:14: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ lp_wlp.c:55:14: warning: variable 'a' set but not used [-Wunused-but-set-variable] 55 | LPSREAL a; | ^ lp_wlp.c:147:10: warning: implicit conversion turns floating-point number into integer: 'double' to 'bool' [-Wfloat-conversion] 147 | if ((lp->orig_upbo[j]) && (lp->orig_upbo[j] < lp->infinite)) { | ^~~~~~~~~~~~~~~~ ~~ 5 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_LUSOL.c -o lp_LUSOL.o In file included from lp_LUSOL.c:27: In file included from ../../headers/include/myblas.h:20: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ lp_LUSOL.c:209:7: warning: variable 'nz' set but not used [-Wunused-but-set-variable] 209 | int nz, inform; | ^ lp_LUSOL.c:477:18: warning: variable 'kcol' set but not used [-Wunused-but-set-variable] 477 | int i, k, kcol, deltarows = bfp_rowoffset(lp); | ^ 5 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_matrix.c -o lp_matrix.o In file included from lp_matrix.c:11: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ lp_matrix.c:205:18: warning: variable 'oldrowsalloc' set but not used [-Wunused-but-set-variable] 205 | int rowsum, oldrowsalloc; | ^ lp_matrix.c:3329:34: warning: variable 've' set but not used [-Wunused-but-set-variable] 3329 | int j, colnr, ib, ie, vb, ve; | ^ In file included from lp_matrix.c:15: ../../headers/include/lp_price.h:48:16: warning: unused function 'normalizeEdge' [-Wunused-function] 48 | INLINE LPSREAL normalizeEdge(lprec *lp, int item, LPSREAL edge, MYBOOL isdual); | ^~~~~~~~~~~~~ In file included from lp_matrix.c:16: ../../headers/include/lp_pricePSE.h:23:15: warning: unused function 'applyPricer' [-Wunused-function] 23 | INLINE MYBOOL applyPricer(lprec *lp); | ^~~~~~~~~~~ 7 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lp_report.c -o lp_report.o In file included from lp_report.c:25: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ lp_report.c:186:10: warning: variable 'hold' set but not used [-Wunused-but-set-variable] 186 | double hold; | ^ lp_report.c:315:7: warning: unused variable 'i' [-Wunused-variable] 315 | int i; | ^ lp_report.c:317:10: warning: variable 'ret' set but not used [-Wunused-but-set-variable] 317 | MYBOOL ret; | ^ lp_report.c:407:7: warning: unused variable 'i' [-Wunused-variable] 407 | int i, colMax; | ^ lp_report.c:407:10: warning: variable 'colMax' set but not used [-Wunused-but-set-variable] 407 | int i, colMax; | ^ lp_report.c:428:8: warning: unused variable 'j' [-Wunused-variable] 428 | int j, row_nr, *coltarget; | ^ lp_report.c:430:9: warning: unused variable 'stream' [-Wunused-variable] 430 | FILE *stream;// = lp->outstream; | ^~~~~~ 10 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c lusol.c -o lusol.o In file included from lusol.c:50: In file included from ../../headers/include/lusol.h:17: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ lusol.c:648:12: warning: unused variable 'buff' [-Wunused-variable] 648 | char buff[255]; | ^~~~ In file included from lusol.c:756: ./lusol6a.c:197:51: warning: variable 'LPRINT' set but not used [-Wunused-but-set-variable] 197 | int I, J, JUMIN, K, L, L1, L2, LENL, LDIAGU, LPRINT, NDEFIC, NRANK; | ^ ./lusol6a.c:197:59: warning: variable 'NDEFIC' set but not used [-Wunused-but-set-variable] 197 | int I, J, JUMIN, K, L, L1, L2, LENL, LDIAGU, LPRINT, NDEFIC, NRANK; | ^ In file included from lusol.c:757: ./lusol1.c:3359:19: warning: variable 'TCP' set but not used [-Wunused-but-set-variable] 3359 | MYBOOL KEEPLU, TCP, TPP, TRP, TSP; | ^ ./lusol1.c:3359:29: warning: variable 'TRP' set but not used [-Wunused-but-set-variable] 3359 | MYBOOL KEEPLU, TCP, TPP, TRP, TSP; | ^ ./lusol1.c:3359:34: warning: variable 'TSP' set but not used [-Wunused-but-set-variable] 3359 | MYBOOL KEEPLU, TCP, TPP, TRP, TSP; | ^ 9 warnings generated. clang -mmacos-version-min=26 -std=gnu23 -falign-functions=8 -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -Wstrict-prototypes -fPIC -isystem /opt/R/arm64/include -I../../headers/include -I/Users/ripley/R/R-devel/include -DYY_NEVER_INTERACTIVE -DPARSER_LP -DINVERSE_ACTIVE=INVERSE_LUSOL -DRoleIsExternalInvEngine -c myblas.c -o myblas.o In file included from myblas.c:7: In file included from ../../headers/include/myblas.h:20: ../../headers/include/commonlib.h:136:62: warning: multi-line // comment [-Wcomment] 136 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:144:62: warning: multi-line // comment [-Wcomment] 144 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ ../../headers/include/commonlib.h:152:62: warning: multi-line // comment [-Wcomment] 152 | // (size_t) nr * sizeof(*ptr), __LINE__, __FILE__);\ | ^ 3 warnings generated. ar rc liblp_solve.a colamd.o lp_MDO.o lp_mipbb.o lp_rlp.o mmio.o commonlib.o lp_MPS.o lp_params.o lp_scale.o lp_SOS.o lp_presolve.o lp_simplex.o yacc_read.o ini.o lp_crash.o lp_price.o lp_utils.o lp_Hash.o lp_lib.o lp_pricePSE.o lp_wlp.o lp_LUSOL.o lp_matrix.o lp_report.o lusol.o myblas.o && ranlib liblp_solve.a clang++ -mmacos-version-min=26 -std=gnu++20 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/Users/ripley/R/R-devel/lib -L/opt/R/arm64/lib -o volesti.so RcppExports.o copula.o direct_sampling.o exact_vol.o frustum_of_simplex.o inner_ball.o load_sdpa_format_file.o poly_gen.o rotating.o rounding.o sample_points.o volume.o write_sdpa_format_file.o zonotope_approximation.o -Lexternal/lpsolve/build/lp_solve -llp_solve -L/Users/ripley/R/R-devel/lib -lRlapack -L/Users/ripley/R/R-devel/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/14.2.0 -L/opt/gfortran/lib -lemutls_w -lheapt_w -lgfortran -lquadmath -L/Users/ripley/R/R-devel/lib -lR installing to /Users/ripley/R/packages/tests-devel/volesti.Rcheck/00LOCK-volesti/00new/volesti/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (volesti)