* installing *source* package ‘RMixtCompIO’ ...
** this is package ‘RMixtCompIO’ version ‘4.0.11’
** package ‘RMixtCompIO’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
specified C++17
using C++ compiler: ‘clang version 22.1.1 (https://github.com/llvm/llvm-project fef02d48c08db859ef83f84232ed78bd9d1c323a)’
using C++17
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-clang/RMixtCompIO/src'
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c RGraph.cpp -o RGraph.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c RcppExports.cpp -o RcppExports.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c UTest.cpp -o UTest.o
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:26:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseCore:61:
/data/gannet/ripley/R/test-clang/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 /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/Sparse:29:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/Eigen/SparseLU:35:
/data/gannet/ripley/R/test-clang/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
| ^
/data/gannet/ripley/R/test-clang/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 /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:31:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/IterativeSolvers:46:
/data/gannet/ripley/R/test-clang/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;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c rmc.cpp -o rmc.o
In file included from RcppExports.cpp:4:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigen.h:25:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/RcppEigenForward.h:37:
In file included from /data/gannet/ripley/R/test-clang/RcppEigen/include/unsupported/Eigen/SparseExtra:45:
/data/gannet/ripley/R/test-clang/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;
| ^
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Data/AugmentedData.cpp -o lib/Data/AugmentedData.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Composer/MixtureComposer.cpp -o lib/Composer/MixtureComposer.o
5 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Composer/ClassDataStat.cpp -o lib/Composer/ClassDataStat.o
In file included from rmc.cpp:26:
In file included from lib/Run/Learn.h:26:
lib/Composer/MixtureComposer.h:291:9: warning: unused variable 'nObs' [-Wunused-variable]
291 | Index nObs = paramStat_.getStatStorage().cols();
| ^~~~
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Composer/ClassSampler.cpp -o lib/Composer/ClassSampler.o
In file included from UTest.cpp:25:
In file included from lib/MixtComp.h:42:
In file included from lib/Manager/createAllMixtures.h:27:
lib/Composer/MixtureComposer.h:291:9: warning: unused variable 'nObs' [-Wunused-variable]
291 | Index nObs = paramStat_.getStatStorage().cols();
| ^~~~
In file included from lib/Composer/MixtureComposer.cpp:33:
lib/Composer/MixtureComposer.h:291:9: warning: unused variable 'nObs' [-Wunused-variable]
291 | Index nObs = paramStat_.getStatStorage().cols();
| ^~~~
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Composer/ZClassInd.cpp -o lib/Composer/ZClassInd.o
In file included from lib/Composer/MixtureComposer.cpp:25:
In file included from lib/IO/IO.h:26:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/iostream:45:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/ios:228:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__locale:28:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:48:23: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
48 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:49:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, true, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
49 | std::__sift_down<_AlgPolicy, __assume_both_children>(__first, __comp_ref, __sift_down_n, __start);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:41:8: note: in instantiation of function template specialization 'std::__make_heap<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
41 | std::__make_heap<_AlgPolicy>(__first, __middle, __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, std::__less<void, void>, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, std::__less<void, void>>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:951:8: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, std::__less<void, void>>' requested here
951 | std::sort(__first, __last, __less<>());
| ^
lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
239 | std::sort(derived().begin(), derived().end());
| ^
lib/Param/ConfIntParamStat.h:70:13: note: in instantiation of member function 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::sort' requested here
70 | currRow.sort();
| ^
lib/Composer/MixtureComposer.cpp:334:14: note: in instantiation of member function 'mixt::ConfIntParamStat<mixt::Vector<double>>::sampleParam' requested here
334 | paramStat_.sampleParam(iteration, iterationMax);
| ^
In file included from lib/Composer/MixtureComposer.cpp:25:
In file included from lib/IO/IO.h:26:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/iostream:45:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/ios:228:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__locale:28:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:72:25: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
72 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:49:46: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
49 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:48:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, false, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
48 | std::__sift_down<_AlgPolicy, false>(__first, __comp, __len, 0);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, std::__less<void, void>, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, std::__less<void, void>>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:951:8: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, std::__less<void, void>>' requested here
951 | std::sort(__first, __last, __less<>());
| ^
lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
239 | std::sort(derived().begin(), derived().end());
| ^
lib/Param/ConfIntParamStat.h:70:13: note: in instantiation of member function 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::sort' requested here
70 | currRow.sort();
| ^
lib/Composer/MixtureComposer.cpp:334:14: note: in instantiation of member function 'mixt::ConfIntParamStat<mixt::Vector<double>>::sampleParam' requested here
334 | paramStat_.sampleParam(iteration, iterationMax);
| ^
In file included from lib/Composer/MixtureComposer.cpp:25:
In file included from lib/IO/IO.h:26:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/iostream:45:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/ios:228:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__locale:28:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:73:48: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
73 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
In file included from rmc.cpp:24:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:67:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:39:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/unordered_map:2349:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:48:23: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
48 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:49:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, true, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
49 | std::__sift_down<_AlgPolicy, __assume_both_children>(__first, __comp_ref, __sift_down_n, __start);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:41:8: note: in instantiation of function template specialization 'std::__make_heap<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
41 | std::__make_heap<_AlgPolicy>(__first, __middle, __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, std::__less<void, void>, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, std::__less<void, void>>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:951:8: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
951 | std::sort(__first, __last, __less<>());
| ^
lib/Mixture/Simple/SimpleMixture.h:112:14: note: in instantiation of member function 'mixt::ConfIntParamStat<mixt::Vector<double>>::sampleParam' requested here
112 | paramStat_.sampleParam(iteration, iterationMax);
| ^
lib/Mixture/Simple/SimpleMixture.h:46:2: note: in instantiation of member function 'mixt::SimpleMixture<mixt::RGraph, mixt::Multinomial>::storeSEMRun' requested here
46 | SimpleMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nbClass, Index nInd, Real confidenceLevel, const std::string& paramStr) :
| ^
lib/Manager/createAllMixtures.h:66:21: note: in instantiation of member function 'mixt::SimpleMixture<mixt::RGraph, mixt::Multinomial>::SimpleMixture' requested here
66 | p_mixture = new SimpleMixture<Graph, Multinomial>(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr);
| ^
lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures<mixt::RGraph>' requested here
55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer);
| ^
rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn<mixt::RGraph>' requested here
47 | learn(algoRG, dataRG, descRG, resRG);
| ^
In file included from rmc.cpp:24:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:67:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:39:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/unordered_map:2349:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:72:25: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
72 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:49:46: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
49 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:48:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, false, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
48 | std::__sift_down<_AlgPolicy, false>(__first, __comp, __len, 0);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, std::__less<void, void>, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, std::__less<void, void>>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:951:8: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, std::__less<void, void>>' requested here
951 | std::sort(__first, __last, __less<>());
| ^
lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
239 | std::sort(derived().begin(), derived().end());
| ^
lib/Mixture/Simple/SimpleMixture.h:112:14: note: in instantiation of member function 'mixt::ConfIntParamStat<mixt::Vector<double>>::sampleParam' requested here
112 | paramStat_.sampleParam(iteration, iterationMax);
| ^
lib/Mixture/Simple/SimpleMixture.h:46:2: note: in instantiation of member function 'mixt::SimpleMixture<mixt::RGraph, mixt::Multinomial>::storeSEMRun' requested here
46 | SimpleMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nbClass, Index nInd, Real confidenceLevel, const std::string& paramStr) :
| ^
lib/Manager/createAllMixtures.h:66:21: note: in instantiation of member function 'mixt::SimpleMixture<mixt::RGraph, mixt::Multinomial>::SimpleMixture' requested here
66 | p_mixture = new SimpleMixture<Graph, Multinomial>(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr);
| ^
lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures<mixt::RGraph>' requested here
55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer);
| ^
rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn<mixt::RGraph>' requested here
47 | learn(algoRG, dataRG, descRG, resRG);
| ^
In file included from rmc.cpp:24:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:67:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:39:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/unordered_map:2349:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:73:48: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
73 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
1 warning and 10 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:197: lib/Composer/MixtureComposer.o] Error 1
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:48:23: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
48 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:49:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, true, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
49 | std::__sift_down<_AlgPolicy, __assume_both_children>(__first, __comp_ref, __sift_down_n, __start);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:41:8: note: in instantiation of function template specialization 'std::__make_heap<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
41 | std::__make_heap<_AlgPolicy>(__first, __middle, __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, std::__less<void, void>, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, std::__less<void, void>>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:951:8: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
951 | std::sort(__first, __last, __less<>());
| ^
lib/Mixture/Simple/SimpleMixture.h:120:13: note: in instantiation of member function 'mixt::ConfIntDataStat<double>::sampleVals' requested here
120 | dataStat_.sampleVals(sample, iteration, iterationMax);
| ^
lib/Mixture/Simple/SimpleMixture.h:46:2: note: in instantiation of member function 'mixt::SimpleMixture<mixt::RGraph, mixt::Gaussian>::storeGibbsRun' requested here
46 | SimpleMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nbClass, Index nInd, Real confidenceLevel, const std::string& paramStr) :
| ^
lib/Manager/createAllMixtures.h:70:21: note: in instantiation of member function 'mixt::SimpleMixture<mixt::RGraph, mixt::Gaussian>::SimpleMixture' requested here
70 | p_mixture = new SimpleMixture<Graph, Gaussian>(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr);
| ^
lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures<mixt::RGraph>' requested here
55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer);
| ^
rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn<mixt::RGraph>' requested here
47 | learn(algoRG, dataRG, descRG, resRG);
| ^
In file included from rmc.cpp:24:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:67:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:39:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/unordered_map:2349:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:72:25: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
72 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:49:46: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
49 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:48:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, false, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
48 | std::__sift_down<_AlgPolicy, false>(__first, __comp, __len, 0);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, std::__less<void, void>, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, std::__less<void, void>>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:951:8: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, std::__less<void, void>>' requested here
951 | std::sort(__first, __last, __less<>());
| ^
lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: (skipping 2 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
239 | std::sort(derived().begin(), derived().end());
| ^
lib/Mixture/Simple/SimpleMixture.h:120:13: note: in instantiation of member function 'mixt::ConfIntDataStat<double>::sampleVals' requested here
120 | dataStat_.sampleVals(sample, iteration, iterationMax);
| ^
lib/Mixture/Simple/SimpleMixture.h:46:2: note: in instantiation of member function 'mixt::SimpleMixture<mixt::RGraph, mixt::Gaussian>::storeGibbsRun' requested here
46 | SimpleMixture(const Graph& data, const Graph& param, Graph& out, std::string const& idName, Index nbClass, Index nInd, Real confidenceLevel, const std::string& paramStr) :
| ^
lib/Manager/createAllMixtures.h:70:21: note: in instantiation of member function 'mixt::SimpleMixture<mixt::RGraph, mixt::Gaussian>::SimpleMixture' requested here
70 | p_mixture = new SimpleMixture<Graph, Gaussian>(data, param, out, idName, nClass, nInd, confidenceLevel, paramStr);
| ^
lib/Run/Learn.h:55:13: note: in instantiation of function template specialization 'mixt::createAllMixtures<mixt::RGraph>' requested here
55 | warnLog += createAllMixtures(algo, desc, data, param, out, composer);
| ^
rmc.cpp:47:4: note: in instantiation of function template specialization 'mixt::learn<mixt::RGraph>' requested here
47 | learn(algoRG, dataRG, descRG, resRG);
| ^
In file included from rmc.cpp:24:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp.h:27:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/RcppCommon.h:30:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/r/headers.h:67:
In file included from /data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/platform/compiler.h:39:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/unordered_map:2349:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:73:48: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
73 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
1 warning and 20 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:197: rmc.o] Error 1
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Statistic/GaussianStatistic.cpp -o lib/Statistic/GaussianStatistic.o
1 warning generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Statistic/RNG.cpp -o lib/Statistic/RNG.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Statistic/UniformStatistic.cpp -o lib/Statistic/UniformStatistic.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Statistic/UniformIntStatistic.cpp -o lib/Statistic/UniformIntStatistic.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Statistic/MultinomialStatistic.cpp -o lib/Statistic/MultinomialStatistic.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Statistic/ExponentialStatistic.cpp -o lib/Statistic/ExponentialStatistic.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Functional/FunctionCS.cpp -o lib/Mixture/Functional/FunctionCS.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Functional/FuncCSComputation.cpp -o lib/Mixture/Functional/FuncCSComputation.o
In file included from lib/Mixture/Functional/FunctionCS.cpp:23:
In file included from lib/Mixture/Functional/FuncCSClass.h:26:
In file included from lib/LinAlg/LinAlg.h:26:
In file included from lib/LinAlg/Typedef.h:27:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:48:23: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
48 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:49:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, true, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
49 | std::__sift_down<_AlgPolicy, __assume_both_children>(__first, __comp_ref, __sift_down_n, __start);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:41:8: note: in instantiation of function template specialization 'std::__make_heap<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
41 | std::__make_heap<_AlgPolicy>(__first, __middle, __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, std::__less<void, void>, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, std::__less<void, void>>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:951:8: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, std::__less<void, void>>' requested here
951 | std::sort(__first, __last, __less<>());
| ^
lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
239 | std::sort(derived().begin(), derived().end());
| ^
lib/Mixture/Functional/FunctionCS.cpp:237:10: note: in instantiation of member function 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::sort' requested here
237 | sortedT.sort();
| ^
In file included from lib/Mixture/Functional/FunctionCS.cpp:23:
In file included from lib/Mixture/Functional/FuncCSClass.h:26:
In file included from lib/LinAlg/LinAlg.h:26:
In file included from lib/LinAlg/Typedef.h:27:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:72:25: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
72 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:49:46: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
49 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:48:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, false, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
48 | std::__sift_down<_AlgPolicy, false>(__first, __comp, __len, 0);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, std::__less<void, void>, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, std::__less<void, void>>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:951:8: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, std::__less<void, void>>' requested here
951 | std::sort(__first, __last, __less<>());
| ^
lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
239 | std::sort(derived().begin(), derived().end());
| ^
lib/Mixture/Functional/FunctionCS.cpp:237:10: note: in instantiation of member function 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::sort' requested here
237 | sortedT.sort();
| ^
In file included from lib/Mixture/Functional/FunctionCS.cpp:23:
In file included from lib/Mixture/Functional/FuncCSClass.h:26:
In file included from lib/LinAlg/LinAlg.h:26:
In file included from lib/LinAlg/Typedef.h:27:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:73:48: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
73 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
10 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:197: lib/Mixture/Functional/FunctionCS.o] Error 1
In file included from lib/Mixture/Functional/FuncCSComputation.cpp:23:
In file included from lib/IO/IO.h:26:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/iostream:45:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/ios:228:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__locale:28:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:48:23: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
48 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:49:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, true, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
49 | std::__sift_down<_AlgPolicy, __assume_both_children>(__first, __comp_ref, __sift_down_n, __start);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:41:8: note: in instantiation of function template specialization 'std::__make_heap<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
41 | std::__make_heap<_AlgPolicy>(__first, __middle, __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, std::__less<void, void>, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, std::__less<void, void>>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:951:8: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, std::__less<void, void>>' requested here
951 | std::sort(__first, __last, __less<>());
| ^
lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
239 | std::sort(derived().begin(), derived().end());
| ^
lib/Mixture/Functional/FuncCSComputation.cpp:305:10: note: in instantiation of member function 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::sort' requested here
305 | globalT.sort();
| ^
In file included from lib/Mixture/Functional/FuncCSComputation.cpp:23:
In file included from lib/IO/IO.h:26:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/iostream:45:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/ios:228:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__locale:28:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:72:25: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
72 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:49:46: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
49 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:48:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, false, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
48 | std::__sift_down<_AlgPolicy, false>(__first, __comp, __len, 0);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, std::__less<void, void>, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, std::__less<void, void>>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:951:8: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator, std::__less<void, void>>' requested here
951 | std::sort(__first, __last, __less<>());
| ^
lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator>' requested here
239 | std::sort(derived().begin(), derived().end());
| ^
lib/Mixture/Functional/FuncCSComputation.cpp:305:10: note: in instantiation of member function 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::sort' requested here
305 | globalT.sort();
| ^
In file included from lib/Mixture/Functional/FuncCSComputation.cpp:23:
In file included from lib/IO/IO.h:26:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/iostream:45:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/ios:228:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__locale:28:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:73:48: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
73 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
10 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:197: lib/Mixture/Functional/FuncCSComputation.o] Error 1
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Functional/FuncCSClass.cpp -o lib/Mixture/Functional/FuncCSClass.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Functional/FunctionCSParser.cpp -o lib/Mixture/Functional/FunctionCSParser.o
In file included from lib/Mixture/Functional/FuncCSClass.cpp:23:
In file included from lib/Mixture/Functional/FuncCSClass.h:26:
In file included from lib/LinAlg/LinAlg.h:26:
In file included from lib/LinAlg/Typedef.h:27:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:48:23: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
48 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:49:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, true, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
49 | std::__sift_down<_AlgPolicy, __assume_both_children>(__first, __comp_ref, __sift_down_n, __start);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:41:8: note: in instantiation of function template specialization 'std::__make_heap<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
41 | std::__make_heap<_AlgPolicy>(__first, __middle, __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, std::__less<void, void>, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, std::__less<void, void>>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:951:8: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, std::__less<void, void>>' requested here
951 | std::sort(__first, __last, __less<>());
| ^
lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
239 | std::sort(derived().begin(), derived().end());
| ^
lib/Param/ConfIntParamStat.h:70:13: note: in instantiation of member function 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::sort' requested here
70 | currRow.sort();
| ^
lib/Mixture/Functional/FuncCSClass.cpp:132:18: note: in instantiation of member function 'mixt::ConfIntParamStat<mixt::Matrix<double>>::sampleParam' requested here
132 | alphaParamStat_.sampleParam(iteration, iterationMax);
| ^
In file included from lib/Mixture/Functional/FuncCSClass.cpp:23:
In file included from lib/Mixture/Functional/FuncCSClass.h:26:
In file included from lib/LinAlg/LinAlg.h:26:
In file included from lib/LinAlg/Typedef.h:27:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:72:25: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
72 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:49:46: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
49 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:48:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, false, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
48 | std::__sift_down<_AlgPolicy, false>(__first, __comp, __len, 0);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, std::__less<void, void> &, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, std::__less<void, void>, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, std::__less<void, void>>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:951:8: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator, std::__less<void, void>>' requested here
951 | std::sort(__first, __last, __less<>());
| ^
lib/LinAlg/EigenMatrixBaseAddons.h:239:7: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator>' requested here
239 | std::sort(derived().begin(), derived().end());
| ^
lib/Param/ConfIntParamStat.h:70:13: note: in instantiation of member function 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::sort' requested here
70 | currRow.sort();
| ^
lib/Mixture/Functional/FuncCSClass.cpp:132:18: note: in instantiation of member function 'mixt::ConfIntParamStat<mixt::Matrix<double>>::sampleParam' requested here
132 | alphaParamStat_.sampleParam(iteration, iterationMax);
| ^
In file included from lib/Mixture/Functional/FuncCSClass.cpp:23:
In file included from lib/Mixture/Functional/FuncCSClass.h:26:
In file included from lib/LinAlg/LinAlg.h:26:
In file included from lib/LinAlg/Typedef.h:27:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:73:48: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
73 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<double, 1, -1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
10 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:197: lib/Mixture/Functional/FuncCSClass.o] Error 1
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/NegativeBinomial/NegativeBinomialStatistic.cpp -o lib/Mixture/Simple/NegativeBinomial/NegativeBinomialStatistic.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/NegativeBinomial/NegativeBinomial.cpp -o lib/Mixture/Simple/NegativeBinomial/NegativeBinomial.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.cpp -o lib/Mixture/Simple/NegativeBinomial/NegativeBinomialLikelihood.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/NegativeBinomial/NegativeBinomialSampler.cpp -o lib/Mixture/Simple/NegativeBinomial/NegativeBinomialSampler.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp -o lib/Mixture/Simple/Multinomial/MultinomialDataStat.o
In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23:
In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26:
In file included from lib/LinAlg/LinAlg.h:26:
In file included from lib/LinAlg/Typedef.h:27:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:48:23: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
48 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:49:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, true, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36) &, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator>' requested here
49 | std::__sift_down<_AlgPolicy, __assume_both_children>(__first, __comp_ref, __sift_down_n, __start);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:41:8: note: in instantiation of function template specialization 'std::__make_heap<std::_ClassicAlgPolicy, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36) &, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator>' requested here
41 | std::__make_heap<_AlgPolicy>(__first, __middle, __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36) &, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36), Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
lib/LinAlg/EigenMatrixBaseAddons.h:249:7: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here
249 | std::sort(out.begin(), out.end(), [this](int left, int right) {return (*this)(left) < (*this)(right);});
| ^
lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:56:15: note: in instantiation of function template specialization 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::sortIndex<mixt::Vector<int>>' requested here
56 | stat_(ind).sortIndex(indOrder);
| ^
In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23:
In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26:
In file included from lib/LinAlg/LinAlg.h:26:
In file included from lib/LinAlg/Typedef.h:27:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:72:25: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
72 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:49:46: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
49 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:48:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, false, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36) &, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator>' requested here
48 | std::__sift_down<_AlgPolicy, false>(__first, __comp, __len, 0);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36) &, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36), Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
lib/LinAlg/EigenMatrixBaseAddons.h:249:7: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here
249 | std::sort(out.begin(), out.end(), [this](int left, int right) {return (*this)(left) < (*this)(right);});
| ^
lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:56:15: note: in instantiation of function template specialization 'Eigen::MatrixBase<Eigen::Matrix<double, -1, 1>>::sortIndex<mixt::Vector<int>>' requested here
56 | stat_(ind).sortIndex(indOrder);
| ^
In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.cpp:23:
In file included from lib/Mixture/Simple/Multinomial/MultinomialDataStat.h:26:
In file included from lib/LinAlg/LinAlg.h:26:
In file included from lib/LinAlg/Typedef.h:27:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:73:48: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
73 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
10 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:197: lib/Mixture/Simple/Multinomial/MultinomialDataStat.o] Error 1
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/Multinomial/MultinomialSampler.cpp -o lib/Mixture/Simple/Multinomial/MultinomialSampler.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/Multinomial/Multinomial.cpp -o lib/Mixture/Simple/Multinomial/Multinomial.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/Weibull/WeibullLikelihood.cpp -o lib/Mixture/Simple/Weibull/WeibullLikelihood.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/Weibull/Weibull.cpp -o lib/Mixture/Simple/Weibull/Weibull.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/Weibull/WeibullSampler.cpp -o lib/Mixture/Simple/Weibull/WeibullSampler.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/Weibull/WeibullStatistic.cpp -o lib/Mixture/Simple/Weibull/WeibullStatistic.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/Poisson/PoissonStatistic.cpp -o lib/Mixture/Simple/Poisson/PoissonStatistic.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/Poisson/PoissonSampler.cpp -o lib/Mixture/Simple/Poisson/PoissonSampler.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/Poisson/Poisson.cpp -o lib/Mixture/Simple/Poisson/Poisson.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/Poisson/PoissonLikelihood.cpp -o lib/Mixture/Simple/Poisson/PoissonLikelihood.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/Gaussian/GaussianLikelihood.cpp -o lib/Mixture/Simple/Gaussian/GaussianLikelihood.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/Gaussian/GaussianSampler.cpp -o lib/Mixture/Simple/Gaussian/GaussianSampler.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Simple/Gaussian/Gaussian.cpp -o lib/Mixture/Simple/Gaussian/Gaussian.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Rank/RankISRParser.cpp -o lib/Mixture/Rank/RankISRParser.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Rank/RankVal.cpp -o lib/Mixture/Rank/RankVal.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Rank/RankISRStat.cpp -o lib/Mixture/Rank/RankISRStat.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Rank/RankISRIndividual.cpp -o lib/Mixture/Rank/RankISRIndividual.o
In file included from lib/Mixture/Rank/RankISRStat.cpp:23:
In file included from lib/Mixture/Rank/RankISRStat.h:26:
In file included from lib/Mixture/Rank/RankVal.h:26:
In file included from lib/LinAlg/LinAlg.h:26:
In file included from lib/LinAlg/Typedef.h:27:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:48:23: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
48 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:49:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, true, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36) &, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator>' requested here
49 | std::__sift_down<_AlgPolicy, __assume_both_children>(__first, __comp_ref, __sift_down_n, __start);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:41:8: note: in instantiation of function template specialization 'std::__make_heap<std::_ClassicAlgPolicy, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36) &, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator>' requested here
41 | std::__make_heap<_AlgPolicy>(__first, __middle, __comp);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36) &, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36), Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
lib/LinAlg/EigenMatrixBaseAddons.h:249:7: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here
249 | std::sort(out.begin(), out.end(), [this](int left, int right) {return (*this)(left) < (*this)(right);});
| ^
lib/Mixture/Rank/RankISRStat.cpp:69:6: note: in instantiation of function template specialization 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::sortIndex<mixt::Vector<int>>' requested here
69 | nb.sortIndex(index);
| ^
In file included from lib/Mixture/Rank/RankISRStat.cpp:23:
In file included from lib/Mixture/Rank/RankISRStat.h:26:
In file included from lib/Mixture/Rank/RankVal.h:26:
In file included from lib/LinAlg/LinAlg.h:26:
In file included from lib/LinAlg/Typedef.h:27:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:72:25: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
72 | __child += __comp(__first[__child], __first[__child + 1]);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:49:46: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
49 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:48:12: note: in instantiation of function template specialization 'std::__sift_down<std::_ClassicAlgPolicy, false, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36) &, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator>' requested here
48 | std::__sift_down<_AlgPolicy, false>(__first, __comp, __len, 0);
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/partial_sort.h:65:12: note: in instantiation of function template specialization 'std::__partial_sort_impl<std::_ClassicAlgPolicy, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36) &, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator>' requested here
65 | std::__partial_sort_impl<_AlgPolicy>(__first, __middle, __last, static_cast<__comp_ref_type<_Compare> >(__comp));
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:934:10: note: in instantiation of function template specialization 'std::__partial_sort<std::_ClassicAlgPolicy, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36), Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator>' requested here
934 | std::__partial_sort<_AlgPolicy>(
| ^
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sort.h:945:8: note: in instantiation of function template specialization 'std::__sort_impl<std::_ClassicAlgPolicy, Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here
945 | std::__sort_impl<_ClassicAlgPolicy>(std::move(__first), std::move(__last), __comp);
| ^
lib/LinAlg/EigenMatrixBaseAddons.h:249:7: note: in instantiation of function template specialization 'std::sort<Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator, (lambda at lib/LinAlg/EigenMatrixBaseAddons.h:249:36)>' requested here
249 | std::sort(out.begin(), out.end(), [this](int left, int right) {return (*this)(left) < (*this)(right);});
| ^
lib/Mixture/Rank/RankISRStat.cpp:69:6: note: in instantiation of function template specialization 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::sortIndex<mixt::Vector<int>>' requested here
69 | nb.sortIndex(index);
| ^
In file included from lib/Mixture/Rank/RankISRStat.cpp:23:
In file included from lib/Mixture/Rank/RankISRStat.h:26:
In file included from lib/Mixture/Rank/RankVal.h:26:
In file included from lib/LinAlg/LinAlg.h:26:
In file included from lib/LinAlg/Typedef.h:27:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string:654:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/string_view:975:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/algorithm:1875:
In file included from /data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/make_heap.h:16:
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:55:14: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
55 | if (__comp(__first[__child], __first[__start]))
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:62:5: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
62 | __first[__start] = _Ops::__iter_move(__first + __child);
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:73:48: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
73 | } else if ((__child + 1) < __len && __comp(__first[__child], __first[__child + 1])) {
| ^~~~~~~ ~~~~~~~
/data/gannet2/ripley/Sources/LLVM/LLVM-22.1.1-Linux-X64/bin/../include/c++/v1/__algorithm/sift_down.h:80:3: error: type 'Eigen::MatrixBase<Eigen::Matrix<int, -1, 1>>::Iterator' does not provide a subscript operator
80 | __first[__start] = std::move(__top);
| ^~~~~~~ ~~~~~~~
10 errors generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:197: lib/Mixture/Rank/RankISRStat.o] Error 1
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Mixture/Rank/RankISRClass.cpp -o lib/Mixture/Rank/RankISRClass.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Various/Various.cpp -o lib/Various/Various.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Various/Timer.cpp -o lib/Various/Timer.o
lib/Various/Timer.cpp:56:8: warning: unused variable 'timePerIt' [-Wunused-variable]
56 | Real timePerIt = dt.total_milliseconds() / 1000. / Real(iteration);
| ^~~~~~~~~
lib/Various/Timer.cpp:71:7: warning: unused variable 'sinceCreation' [-Wunused-variable]
71 | Real sinceCreation = dtCreation.total_milliseconds() / 1000.;
| ^~~~~~~~~~~~~
2 warnings generated.
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/Various/Constants.cpp -o lib/Various/Constants.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/IO/SpecialStr.cpp -o lib/IO/SpecialStr.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/IO/IOFunctions.cpp -o lib/IO/IOFunctions.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/LinAlg/Typedef.cpp -o lib/LinAlg/Typedef.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/LinAlg/names.cpp -o lib/LinAlg/names.o
clang++-22 -stdlib=libc++ -std=gnu++17 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG -I'/data/gannet/ripley/R/test-clang/Rcpp/include' -I'/data/gannet/ripley/R/test-clang/RcppEigen/include' -I'/data/gannet/ripley/R/test-clang/BH/include' -isystem /usr/local/clang22/include -I/usr/local/clang/include -Ilib -Ilib/LinAlg -DEIGEN_MATRIXBASE_PLUGIN=\"EigenMatrixBaseAddons.h\" -Ioptim/include -fpic -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw -c lib/LinAlg/Maths.cpp -o lib/LinAlg/Maths.o
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-clang/RMixtCompIO/src'
ERROR: compilation failed for package ‘RMixtCompIO’
* removing ‘/data/gannet/ripley/R/packages/tests-clang/RMixtCompIO.Rcheck/RMixtCompIO’