* installing *source* package ‘Boom’ ...
** this is package ‘Boom’ version ‘0.9.16’
** package ‘Boom’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
using C++17
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/Boom/src'
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c boom_r_tools.cpp -o boom_r_tools.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c create_mixture_component.cpp -o create_mixture_component.o
boom_r_tools.cpp: In function ‘SEXPREC* BOOM::setListNames(SEXP, const std::vector<std::__cxx11::basic_string<char> >&)’:
boom_r_tools.cpp:84:10: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
84 | if(n != names.size()){
| ~~^~~~~~~~~~~~~~~
boom_r_tools.cpp: In function ‘SEXPREC* BOOM::CharacterVector(const std::vector<std::__cxx11::basic_string<char> >&)’:
boom_r_tools.cpp:119:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
119 | for(int i = 0; i < string_vector.size(); ++i){
| ~~^~~~~~~~~~~~~~~~~~~~~~
boom_r_tools.cpp: In function ‘SEXPREC* BOOM::appendListElements(SEXP, const std::vector<SEXPREC*>&, const std::vector<std::__cxx11::basic_string<char> >&)’:
boom_r_tools.cpp:161:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<SEXPREC*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
161 | for (int i = 0; i < new_elements.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
boom_r_tools.cpp:166:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
166 | for (int i = 0; i < new_element_names.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
boom_r_tools.cpp: In function ‘SEXPREC* BOOM::CreateList(const std::vector<SEXPREC*>&, const std::vector<std::__cxx11::basic_string<char> >&)’:
boom_r_tools.cpp:183:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<SEXPREC*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
183 | for (int i = 0; i < elements.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
boom_r_tools.cpp: In function ‘SEXPREC* BOOM::SetColnames(SEXP, const std::vector<std::__cxx11::basic_string<char> >&)’:
boom_r_tools.cpp:235:22: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
235 | if (names.size() != ncol) {
| ~~~~~~~~~~~~~^~~~~~~
boom_r_tools.cpp: In function ‘SEXPREC* BOOM::SetDimnames(SEXP, const std::vector<std::vector<std::__cxx11::basic_string<char> > >&)’:
boom_r_tools.cpp:263:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
263 | for (int i = 0; i < dim.size(); ++i) {
| ~~^~~~~~~~~~~~
boom_r_tools.cpp:267:32: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’} [-Wsign-compare]
267 | if (dimnames[i].size() != dim[i]) {
boom_r_tools.cpp: In function ‘std::vector<int> BOOM::GetArrayDimensions(SEXP)’:
boom_r_tools.cpp:290:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
290 | for (int i = 0; i < dims.size(); ++i) {
| ~~^~~~~~~~~~~~~
boom_r_tools.cpp: In function ‘std::vector<int> BOOM::ToIntVector(SEXP, bool)’:
boom_r_tools.cpp:449:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
449 | for (int i = 0; i < ans.size(); ++i) --ans[i];
| ~~^~~~~~~~~~~~
boom_r_tools.cpp: In function ‘std::vector<BOOM::Date> BOOM::ToBoomDateVector(SEXP)’:
boom_r_tools.cpp:487:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Date>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
487 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
boom_r_tools.cpp: In function ‘SEXPREC* BOOM::ToRMatrix(const Matrix&, const std::vector<std::__cxx11::basic_string<char> >&, const std::vector<std::__cxx11::basic_string<char> >&)’:
boom_r_tools.cpp:524:46: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
524 | if (!rownames.empty() && rownames.size() != m.nrow()) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
boom_r_tools.cpp:527:53: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
527 | } else if (!colnames.empty() && colnames.size() != m.ncol()) {
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
boom_r_tools.cpp: In function ‘SEXPREC* BOOM::AllocateArray(const std::vector<int>&)’:
boom_r_tools.cpp:577:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
577 | for (int i = 0; i < array_dimensions.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
boom_r_tools.cpp: In function ‘SEXPREC* BOOM::ToRStringVector(const std::vector<std::__cxx11::basic_string<char> >&)’:
boom_r_tools.cpp:607:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
607 | for (int i = 0; i < string_vector.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
boom_r_tools.cpp: In constructor ‘BOOM::Factor::Factor(SEXP)’:
boom_r_tools.cpp:619:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
619 | for (int i = 0; i < values_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/r_interface/boom_r_tools.hpp:28,
from boom_r_tools.cpp:22:
../inst/include/LinAlg/Array.hpp: In instantiation of ‘BOOM::Array& BOOM::Array::assign(FwdIt, FwdIt) [with FwdIt = BOOM::VectorViewConstIterator]’:
boom_r_tools.cpp:363:17: required from here
363 | ans.assign(v.begin(), v.end());
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../inst/include/LinAlg/Array.hpp:344:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
344 | if (data_.size() != this->size()) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/BetaModel.hpp:22,
from create_mixture_component.cpp:8:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GaussianModel.hpp:22,
from create_mixture_component.cpp:12:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.hpp:23,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.hpp:23,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitCompositeSpikeSlabSampler.hpp:22,
from create_mixture_component.cpp:15:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/PosteriorSamplers/MarkovConjSampler.hpp:23,
from create_mixture_component.cpp:27:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
create_mixture_component.cpp: In member function ‘virtual BOOM::Ptr<BOOM::MixtureComponent> BOOM::RInterface::IndependentMvnMixtureComponentBuilder::Build(SEXP, BOOM::RListIoManager*) const’:
create_mixture_component.cpp:455:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
455 | for (int i = 0; i < sigma_upper_limit.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c create_point_process.cpp -o create_point_process.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c create_poisson_cluster_components.cpp -o create_poisson_cluster_components.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c create_poisson_process.cpp -o create_poisson_process.o
In file included from ../inst/include/Models/PointProcess/PoissonProcess.hpp:22,
from create_poisson_process.cpp:22:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/IndependentMvnModel.hpp:24,
from ../inst/include/r_interface/prior_specification.hpp:26,
from create_poisson_process.cpp:28:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c determine_nthreads.cpp -o determine_nthreads.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c extract_mixture_data.cpp -o extract_mixture_data.o
In file included from extract_mixture_data.cpp:8:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
extract_mixture_data.cpp: In member function ‘void BOOM::RInterface::VectorDataExtractor::check_missing(const BOOM::Ptr<BOOM::Data>&) const’:
extract_mixture_data.cpp:149:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
149 | if(number_missing == y.size()){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
extract_mixture_data.cpp: In member function ‘void BOOM::RInterface::RegressionDataExtractor::check_missing(const BOOM::Ptr<BOOM::Data>&) const’:
extract_mixture_data.cpp:180:47: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
180 | if(missing_response && number_missing == x.size()){
| ~~~~~~~~~~~~~~~^~~~~~~~~~~
extract_mixture_data.cpp: In function ‘std::vector<int> BOOM::RInterface::UnpackKnownDataSource(SEXP)’:
extract_mixture_data.cpp:363:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
363 | for(int j = 0; j < data.size(); ++j){
| ~~^~~~~~~~~~~~~
extract_mixture_data.cpp:372:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
372 | for(int j = 0; j < data.size(); ++j){
| ~~^~~~~~~~~~~~~
extract_mixture_data.cpp: In instantiation of ‘int BOOM::RInterface::{anonymous}::count_missing(const VEC&) [with VEC = BOOM::Vector]’:
extract_mixture_data.cpp:148:43: required from here
148 | int number_missing = count_missing(y);
| ~~~~~~~~~~~~~^~~
extract_mixture_data.cpp:23:26: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
23 | for(int i = 0; i < v.size(); ++i){
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c handle_exception.cpp -o handle_exception.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c list_io.cpp -o list_io.o
list_io.cpp: In member function ‘SEXPREC* BOOM::RListIoManager::prepare_to_write(int)’:
list_io.cpp:42:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::RListIoElement> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
42 | for (int i = 0; i < elements_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘void BOOM::RListIoManager::prepare_to_stream(SEXP)’:
list_io.cpp:56:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::RListIoElement> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
56 | for (int i = 0; i < elements_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘void BOOM::RListIoManager::write()’:
list_io.cpp:63:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::RListIoElement> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | for (int i = 0; i < elements_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘void BOOM::RListIoManager::stream()’:
list_io.cpp:69:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::RListIoElement> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
69 | for (int i = 0; i < elements_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘void BOOM::RListIoManager::advance(int)’:
list_io.cpp:75:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::RListIoElement> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
75 | for (int i = 0; i < elements_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘virtual SEXPREC* BOOM::SubordinateModelIoElement::prepare_to_write(int)’:
list_io.cpp:125:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::unique_ptr<BOOM::RListIoManager> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
125 | for (int i = 0; i < io_managers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘virtual void BOOM::SubordinateModelIoElement::prepare_to_stream(SEXP)’:
list_io.cpp:137:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::unique_ptr<BOOM::RListIoManager> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
137 | for (int i = 0; i < io_managers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘virtual void BOOM::SubordinateModelIoElement::write()’:
list_io.cpp:146:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::unique_ptr<BOOM::RListIoManager> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
146 | for (int i = 0; i < io_managers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘virtual void BOOM::SubordinateModelIoElement::stream()’:
list_io.cpp:154:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::unique_ptr<BOOM::RListIoManager> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
154 | for (int i = 0; i < io_managers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘virtual void BOOM::SubordinateModelIoElement::advance(int)’:
list_io.cpp:162:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::unique_ptr<BOOM::RListIoManager> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
162 | for (int i = 0; i < io_managers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘void BOOM::MatrixValuedRListIoElement::set_buffer_dimnames(SEXP)’:
list_io.cpp:237:29: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
237 | if (row_names_.size() != nrow()) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
list_io.cpp:247:29: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
247 | if (col_names_.size() != ncol()) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~
list_io.cpp: In member function ‘virtual void BOOM::UnivariateCollectionListElement::write()’:
list_io.cpp:456:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
456 | for (int i = 0; i < parameters_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘virtual void BOOM::UnivariateCollectionListElement::stream()’:
list_io.cpp:464:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
464 | for (int i = 0; i < parameters_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘void BOOM::UnivariateCollectionListElement::CheckSize()’:
list_io.cpp:470:30: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
470 | if (matrix_view().ncol() != parameters_.size()) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘virtual void BOOM::SdCollectionListElement::write()’:
list_io.cpp:483:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
483 | for (int i = 0; i < parameters().size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘virtual void BOOM::SdCollectionListElement::stream()’:
list_io.cpp:491:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
491 | for (int i = 0; i < parameters().size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
list_io.cpp: In constructor ‘BOOM::HierarchicalVectorListElement::HierarchicalVectorListElement(const std::vector<BOOM::Ptr<BOOM::VectorParams> >&, const std::string&, const std::vector<std::__cxx11::basic_string<char> >&, const std::vector<std::__cxx11::basic_string<char> >&)’:
list_io.cpp:589:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VectorParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
589 | for (int i = 0; i < parameters.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘virtual void BOOM::HierarchicalVectorListElement::write()’:
list_io.cpp:616:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VectorData> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
616 | for (int i = 0; i < parameters_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘virtual void BOOM::HierarchicalVectorListElement::stream()’:
list_io.cpp:624:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VectorData> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
624 | for (int i = 0; i < parameters_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
list_io.cpp: In member function ‘void BOOM::HierarchicalVectorListElement::CheckSize()’:
list_io.cpp:631:17: warning: comparison of integer expressions of different signedness: ‘const __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘const int’} and ‘std::vector<BOOM::Ptr<BOOM::VectorData> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
631 | if (dims[1] != parameters_.size() ||
list_io.cpp: In member function ‘virtual void BOOM::RListOfMatricesListElement::write()’:
list_io.cpp:842:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ArrayView>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
842 | for (int layer = 0; layer < views_.size(); ++layer) {
| ~~~~~~^~~~~~~~~~~~~~~
list_io.cpp: In member function ‘virtual void BOOM::RListOfMatricesListElement::stream()’:
list_io.cpp:849:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ArrayView>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
849 | for (int layer = 0; layer < views_.size(); ++layer) {
| ~~~~~~^~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c parse_model_formula.cpp -o parse_model_formula.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c print_R_timestamp.cpp -o print_R_timestamp.o
parse_model_formula.cpp: In member function ‘std::vector<T> BOOM::RInterface::{anonymous}::ExpressionFactory<EFFECT_GROUP>::ParseSymbol(SEXP) [with EFFECT_GROUP = BOOM::EffectGroup; SEXP = SEXPREC*]’:
parse_model_formula.cpp:118:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | for (int i = 0; i < names_.variable_names_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
parse_model_formula.cpp: In function ‘BOOM::ContextualRowBuilder BOOM::RInterface::ParseContextualModelFormulaRHS(SEXP, SEXP, SEXP, bool)’:
parse_model_formula.cpp:388:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffectGroup>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
388 | for (int group = 0; group < factor_effects.size(); ++group) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
parse_model_formula.cpp:391:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
391 | for (int e = 0; e < effects.size(); ++e) {
| ~~^~~~~~~~~~~~~~~~
parse_model_formula.cpp: In function ‘std::vector<int> BOOM::RInterface::ExtractRow(const std::vector<BOOM::Factor>&, int)’:
parse_model_formula.cpp:413:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Factor>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
413 | for (int j = 0; j < factors.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c prior_specification.cpp -o prior_specification.o
In file included from parse_model_formula.cpp:21:
../inst/include/cpputil/make_unique_preserve_order.hpp: In instantiation of ‘std::vector<T> BOOM::make_unique_preserve_order(const std::vector<T>&) [with T = EffectGroup]’:
parse_model_formula.cpp:315:44: required from ‘std::vector<T> BOOM::RInterface::{anonymous}::ExpressionFactory<EFFECT_GROUP>::ParseBinaryOperator(SEXP) [with EFFECT_GROUP = BOOM::EffectGroup; SEXP = SEXPREC*]’
315 | return make_unique_preserve_order(lhs_effects);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
parse_model_formula.cpp:349:20: required from ‘std::vector<T> BOOM::RInterface::{anonymous}::ExpressionFactory<EFFECT_GROUP>::ExpandFormulaRHS(SEXP) [with EFFECT_GROUP = BOOM::EffectGroup; SEXP = SEXPREC*]’
349 | return ParseBinaryOperator(r_expression);
| ^~~~~~~~~~~~~~~~~~~
parse_model_formula.cpp:367:35: required from here
367 | factory.ExpandFormulaRHS(r_formula_rhs);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
../inst/include/cpputil/make_unique_preserve_order.hpp:45:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::EffectGroup>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
45 | for (int i = 0; i < input.size(); ++i) {
| ~~^~~~~~~~~~~~~~
../inst/include/cpputil/make_unique_preserve_order.hpp: In instantiation of ‘std::vector<T> BOOM::make_unique_preserve_order(const std::vector<T>&) [with T = ContextualEffectGroup]’:
parse_model_formula.cpp:315:44: required from ‘std::vector<T> BOOM::RInterface::{anonymous}::ExpressionFactory<EFFECT_GROUP>::ParseBinaryOperator(SEXP) [with EFFECT_GROUP = BOOM::ContextualEffectGroup; SEXP = SEXPREC*]’
315 | return make_unique_preserve_order(lhs_effects);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
parse_model_formula.cpp:349:20: required from ‘std::vector<T> BOOM::RInterface::{anonymous}::ExpressionFactory<EFFECT_GROUP>::ExpandFormulaRHS(SEXP) [with EFFECT_GROUP = BOOM::ContextualEffectGroup; SEXP = SEXPREC*]’
349 | return ParseBinaryOperator(r_expression);
| ^~~~~~~~~~~~~~~~~~~
parse_model_formula.cpp:380:35: required from here
380 | factory.ExpandFormulaRHS(r_formula_rhs);
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
../inst/include/cpputil/make_unique_preserve_order.hpp:45:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffectGroup>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
45 | for (int i = 0; i < input.size(); ++i) {
| ~~^~~~~~~~~~~~~~
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/ChisqModel.hpp:21,
from ../inst/include/r_interface/prior_specification.hpp:23,
from prior_specification.cpp:20:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/IndependentMvnModel.hpp:24,
from ../inst/include/r_interface/prior_specification.hpp:26:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from prior_specification.cpp:27:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
prior_specification.cpp: In instantiation of ‘void BOOM::RInterface::InitializeSpikeSlabCoefficients(const BOOM::Vector&, const BOOM::Vector&, BOOM::Ptr<BOOM::GlmModel>, BOOM::Ptr<Y>) [with SAMPLER = BOOM::BregVsSampler]’:
prior_specification.cpp:496:38: required from here
496 | InitializeSpikeSlabCoefficients(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
497 | model->Beta(), prior.spike()->prior_inclusion_probabilities(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
498 | model, sampler);
| ~~~~~~~~~~~~~~~
prior_specification.cpp:468:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
468 | for (int i = 0; i < initial_beta.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
In member function ‘std::vector<T> BOOM::RInterface::{anonymous}::ExpressionFactory<EFFECT_GROUP>::ParseSymbol(SEXP) [with EFFECT_GROUP = BOOM::ContextualEffectGroup]’,
inlined from ‘std::vector<T> BOOM::RInterface::{anonymous}::ExpressionFactory<EFFECT_GROUP>::ExpandFormulaRHS(SEXP) [with EFFECT_GROUP = BOOM::ContextualEffectGroup]’ at parse_model_formula.cpp:342:42:
parse_model_formula.cpp:236:20: warning: ‘level_names’ may be used uninitialized [-Wmaybe-uninitialized]
236 | context));
| ^
parse_model_formula.cpp: In member function ‘std::vector<T> BOOM::RInterface::{anonymous}::ExpressionFactory<EFFECT_GROUP>::ExpandFormulaRHS(SEXP) [with EFFECT_GROUP = BOOM::ContextualEffectGroup]’:
parse_model_formula.cpp:168:43: note: ‘level_names’ was declared here
168 | const std::vector<std::string> *level_names;
| ^~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c seed_rng_from_R.cpp -o seed_rng_from_R.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c spike_slab_prior.cpp -o spike_slab_prior.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/ChisqModel.hpp:21,
from ../inst/include/r_interface/prior_specification.hpp:23,
from spike_slab_prior.cpp:1:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/IndependentMvnModel.hpp:24,
from ../inst/include/r_interface/prior_specification.hpp:26:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c sufstats.cpp -o sufstats.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Bart/Bart.cpp -o Models/Bart/Bart.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/Bart/Bart.hpp:26,
from Models/Bart/Bart.cpp:25:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/Bart/Bart.cpp: In member function ‘void BOOM::Bart::VariableSummary::finalize(int, BOOM::Bart::ContinuousCutpointStrategy)’:
Models/Bart/Bart.cpp:105:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
105 | if (number_of_unique_values < observed_values_.size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/Bart/Bart.cpp:112:41: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
112 | if (number_of_unique_values < observed_values_.size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/Bart/Bart.cpp:125:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
125 | if (number_of_unique_values < observed_values_.size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/Bart/Bart.cpp: In member function ‘void BOOM::Bart::TreeNode::refresh_subtree_data()’:
Models/Bart/Bart.cpp:726:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Bart::ResidualRegressionData*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
726 | for (int i = 0; i < data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/Bart/Bart.cpp: In member function ‘const BOOM::Bart::SufficientStatisticsBase& BOOM::Bart::TreeNode::compute_suf()’:
Models/Bart/Bart.cpp:744:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Bart::ResidualRegressionData*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
744 | for (int i = 0; i < data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/Bart/Bart.cpp: In member function ‘void BOOM::Bart::TreeNode::remove_mean_effect()’:
Models/Bart/Bart.cpp:757:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Bart::ResidualRegressionData*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
757 | for (int i = 0; i < data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/Bart/Bart.cpp: In member function ‘void BOOM::Bart::TreeNode::replace_mean_effect()’:
Models/Bart/Bart.cpp:764:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Bart::ResidualRegressionData*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
764 | for (int i = 0; i < data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/Bart/Bart.cpp: In copy constructor ‘BOOM::BartModelBase::BartModelBase(const BOOM::BartModelBase&)’:
Models/Bart/Bart.cpp:1122:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<BOOM::Bart::Tree> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1122 | for (int i = 0; i < trees_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/Bart/Bart.cpp: In member function ‘double BOOM::BartModelBase::predict(const BOOM::ConstVectorView&) const’:
Models/Bart/Bart.cpp:1140:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<BOOM::Bart::Tree> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1140 | for (int i = 0; i < trees_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/Bart/Bart.cpp: In member function ‘void BOOM::BartModelBase::set_variable_summaries(const std::vector<BOOM::Bart::SerializedVariableSummary>&)’:
Models/Bart/Bart.cpp:1203:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Bart::SerializedVariableSummary>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1203 | for (int i = 0; i < serialized.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/Bart/Bart.cpp: In member function ‘BOOM::Bart::Tree* BOOM::BartModelBase::random_stump(BOOM::RNG&)’:
Models/Bart/Bart.cpp:1239:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<BOOM::Bart::Tree> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1239 | for (int i = 0; i < trees_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/Bart/Bart.cpp: In member function ‘void BOOM::BartModelBase::check_variable_dimension(int)’:
Models/Bart/Bart.cpp:1287:38: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Bart::VariableSummary>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1287 | if (variable_summaries_.size() != dim) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
Models/Bart/Bart.cpp: In member function ‘void BOOM::BartModelBase::remove_trees(int)’:
Models/Bart/Bart.cpp:1310:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<BOOM::Bart::Tree> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1310 | if (number_of_trees_to_remove >= trees_.size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Bart/GaussianBartModel.cpp -o Models/Bart/GaussianBartModel.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/Bart/Bart.hpp:26,
from ../inst/include/Models/Bart/GaussianBartModel.hpp:22,
from Models/Bart/GaussianBartModel.cpp:20:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/Bart/GaussianBartModel.cpp: In constructor ‘BOOM::GaussianBartModel::GaussianBartModel(int, const BOOM::Vector&, const BOOM::Matrix&)’:
Models/Bart/GaussianBartModel.cpp:32:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
32 | for (int i = 0; i < y.size(); ++i) {
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Bart/GaussianLinearBartModel.cpp -o Models/Bart/GaussianLinearBartModel.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/Bart/Bart.hpp:26,
from ../inst/include/Models/Bart/GaussianBartModel.hpp:22,
from ../inst/include/Models/Bart/GaussianLinearBartModel.hpp:23,
from Models/Bart/GaussianLinearBartModel.cpp:20:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/Bart/GaussianLinearBartModel.cpp: In constructor ‘BOOM::GaussianLinearBartModel::GaussianLinearBartModel(int, const BOOM::Vector&, const BOOM::Matrix&)’:
Models/Bart/GaussianLinearBartModel.cpp:36:18: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
36 | if (y.size() != x.nrow()) {
| ~~~~~~~~~^~~~~~~~~~~
Models/Bart/GaussianLinearBartModel.cpp:46:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
46 | for (int i = 0; i < y.size(); ++i) {
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Bart/LogitBartModel.cpp -o Models/Bart/LogitBartModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Bart/PoissonBartModel.cpp -o Models/Bart/PoissonBartModel.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/Bart/Bart.hpp:26,
from ../inst/include/Models/Bart/LogitBartModel.hpp:23,
from Models/Bart/LogitBartModel.cpp:20:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/Bart/LogitBartModel.cpp: In constructor ‘BOOM::LogitBartModel::LogitBartModel(int, const std::vector<int>&, const std::vector<int>&, const BOOM::Matrix&)’:
Models/Bart/LogitBartModel.cpp:33:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
33 | if (n != trials.size()) {
| ~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/Bart/Bart.hpp:26,
from ../inst/include/Models/Bart/PoissonBartModel.hpp:25,
from Models/Bart/PoissonBartModel.cpp:20:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/Bart/PoissonBartModel.cpp: In constructor ‘BOOM::PoissonBartModel::PoissonBartModel(int, const std::vector<int>&, const BOOM::Matrix&)’:
Models/Bart/PoissonBartModel.cpp:40:26: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
40 | if (responses.size() != nrow(predictors)) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Models/Bart/PoissonBartModel.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | for (int i = 0; i < responses.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Models/Bart/PoissonBartModel.cpp: In constructor ‘BOOM::PoissonBartModel::PoissonBartModel(int, const std::vector<int>&, const std::vector<double>&, const BOOM::Matrix&)’:
Models/Bart/PoissonBartModel.cpp:60:26: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
60 | if (responses.size() != nrow(predictors)) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Models/Bart/PoissonBartModel.cpp:77:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
77 | for (int i = 0; i < responses.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Models/Bart/PoissonBartModel.cpp:88:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
88 | for (int i = 0; i < responses.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Bart/ProbitBartModel.cpp -o Models/Bart/ProbitBartModel.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/Bart/Bart.hpp:26,
from ../inst/include/Models/Bart/ProbitBartModel.hpp:25,
from Models/Bart/ProbitBartModel.cpp:20:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/Bart/ProbitBartModel.cpp: In constructor ‘BOOM::ProbitBartModel::ProbitBartModel(int, const std::vector<int>&, const std::vector<int>&, const BOOM::Matrix&)’:
Models/Bart/ProbitBartModel.cpp:34:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
34 | if (n != trials.size()) {
| ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Bart/ResidualRegressionData.cpp -o Models/Bart/ResidualRegressionData.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Bart/PosteriorSamplers/BartPosteriorSampler.cpp -o Models/Bart/PosteriorSamplers/BartPosteriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Bart/PosteriorSamplers/GaussianBartPosteriorSampler.cpp -o Models/Bart/PosteriorSamplers/GaussianBartPosteriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Bart/PosteriorSamplers/GaussianLinearBartPosteriorSampler.cpp -o Models/Bart/PosteriorSamplers/GaussianLinearBartPosteriorSampler.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/Bart/Bart.hpp:26,
from ../inst/include/Models/Bart/PosteriorSamplers/BartPosteriorSampler.hpp:23,
from Models/Bart/PosteriorSamplers/BartPosteriorSampler.cpp:20:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/Bart/Bart.hpp:26,
from ../inst/include/Models/Bart/PosteriorSamplers/GaussianBartPosteriorSampler.hpp:22,
from Models/Bart/PosteriorSamplers/GaussianBartPosteriorSampler.cpp:20:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/Bart/PosteriorSamplers/GaussianBartPosteriorSampler.cpp: In member function ‘const std::vector<const BOOM::Bart::GaussianResidualRegressionData*> BOOM::GaussianBartPosteriorSampler::residuals() const’:
Models/Bart/PosteriorSamplers/GaussianBartPosteriorSampler.cpp:215:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<BOOM::Bart::GaussianResidualRegressionData> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < residuals_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/Bart/Bart.hpp:26,
from ../inst/include/Models/Bart/GaussianBartModel.hpp:22,
from ../inst/include/Models/Bart/GaussianLinearBartModel.hpp:23,
from ../inst/include/Models/Bart/PosteriorSamplers/GaussianLinearBartPosteriorSampler.hpp:23,
from Models/Bart/PosteriorSamplers/GaussianLinearBartPosteriorSampler.cpp:20:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/Bart/PosteriorSamplers/GaussianLinearBartPosteriorSampler.cpp: In member function ‘void BOOM::GaussianLinearBartPosteriorSampler::adjust_regression_residuals()’:
Models/Bart/PosteriorSamplers/GaussianLinearBartPosteriorSampler.cpp:79:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > >, std::allocator<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
79 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/Bart/PosteriorSamplers/GaussianLinearBartPosteriorSampler.cpp: In member function ‘void BOOM::GaussianLinearBartPosteriorSampler::adjust_bart_residuals()’:
Models/Bart/PosteriorSamplers/GaussianLinearBartPosteriorSampler.cpp:101:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > >, std::allocator<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
101 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Bart/PosteriorSamplers/LogitBartPosteriorSampler.cpp -o Models/Bart/PosteriorSamplers/LogitBartPosteriorSampler.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/Bart/Bart.hpp:26,
from ../inst/include/Models/Bart/LogitBartModel.hpp:23,
from ../inst/include/Models/Bart/PosteriorSamplers/LogitBartPosteriorSampler.hpp:22,
from Models/Bart/PosteriorSamplers/LogitBartPosteriorSampler.cpp:20:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/Bart/PosteriorSamplers/LogitBartPosteriorSampler.cpp: In member function ‘void BOOM::LogitBartPosteriorSampler::impute_latent_data()’:
Models/Bart/PosteriorSamplers/LogitBartPosteriorSampler.cpp:332:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<BOOM::Bart::LogitResidualData> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
332 | for (int i = 0; i < residuals_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Bart/PosteriorSamplers/PoissonBartPosteriorSampler.cpp -o Models/Bart/PosteriorSamplers/PoissonBartPosteriorSampler.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/Bart/Bart.hpp:26,
from ../inst/include/Models/Bart/PoissonBartModel.hpp:25,
from ../inst/include/Models/Bart/PosteriorSamplers/PoissonBartPosteriorSampler.hpp:23,
from Models/Bart/PosteriorSamplers/PoissonBartPosteriorSampler.cpp:20:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/Bart/PosteriorSamplers/PoissonBartPosteriorSampler.cpp: In member function ‘void BOOM::PoissonBartPosteriorSampler::impute_latent_data()’:
Models/Bart/PosteriorSamplers/PoissonBartPosteriorSampler.cpp:236:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<BOOM::Bart::PoissonResidualRegressionData> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
236 | for (int i = 0; i < residuals_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Bart/PosteriorSamplers/ProbitBartPosteriorSampler.cpp -o Models/Bart/PosteriorSamplers/ProbitBartPosteriorSampler.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/Bart/Bart.hpp:26,
from ../inst/include/Models/Bart/PosteriorSamplers/BartPosteriorSampler.hpp:23,
from ../inst/include/Models/Bart/PosteriorSamplers/ProbitBartPosteriorSampler.hpp:23,
from Models/Bart/PosteriorSamplers/ProbitBartPosteriorSampler.cpp:20:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/Bart/PosteriorSamplers/ProbitBartPosteriorSampler.cpp: In member function ‘void BOOM::ProbitBartPosteriorSampler::impute_latent_data()’:
Models/Bart/PosteriorSamplers/ProbitBartPosteriorSampler.cpp:189:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::shared_ptr<BOOM::Bart::ProbitResidualData> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
189 | for (int i = 0; i < residuals_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/BinomialDistribution.cpp -o distributions/BinomialDistribution.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/BoundedAdaptiveRejectionSampler.cpp -o distributions/BoundedAdaptiveRejectionSampler.o
distributions/BoundedAdaptiveRejectionSampler.cpp: In function ‘std::ostream& BOOM::{anonymous}::operator<<(std::ostream&, const std::vector<double>&)’:
distributions/BoundedAdaptiveRejectionSampler.cpp:32:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
32 | for (int i = 0; i < v.size(); ++i) {
| ~~^~~~~~~~~~
distributions/BoundedAdaptiveRejectionSampler.cpp: In member function ‘void BOOM::BoundedAdaptiveRejectionSampler::refresh_knots()’:
distributions/BoundedAdaptiveRejectionSampler.cpp:91:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
91 | for (uint i = 1; i < knots_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
distributions/BoundedAdaptiveRejectionSampler.cpp: In member function ‘void BOOM::BoundedAdaptiveRejectionSampler::update_cdf()’:
distributions/BoundedAdaptiveRejectionSampler.cpp:127:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | for (uint k = 0; k < knots_.size(); ++k) {
| ~~^~~~~~~~~~~~~~~
distributions/BoundedAdaptiveRejectionSampler.cpp: In member function ‘double BOOM::BoundedAdaptiveRejectionSampler::draw_safely(BOOM::RNG&, int)’:
distributions/BoundedAdaptiveRejectionSampler.cpp:164:15: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | if (k + 1 == cdf_.size()) {
| ~~~~~~^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/DoublyBoundedAdaptiveRejectionSampler.cpp -o distributions/DoublyBoundedAdaptiveRejectionSampler.o
distributions/DoublyBoundedAdaptiveRejectionSampler.cpp: In member function ‘void BOOM::DoublyBoundedAdaptiveRejectionSampler::refresh_knots()’:
distributions/DoublyBoundedAdaptiveRejectionSampler.cpp:87:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
87 | for (uint i = 1; i < knots.size() - 1; ++i) knots[i] = compute_knot(i);
| ~~^~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/Markov.cpp -o distributions/Markov.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/Rmath_dist.cpp -o distributions/Rmath_dist.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/Tn2Sampler.cpp -o distributions/Tn2Sampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/Wishart.cpp -o distributions/Wishart.o
distributions/Tn2Sampler.cpp: In member function ‘void BOOM::Tn2Sampler::refresh_knots()’:
distributions/Tn2Sampler.cpp:85:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
85 | for (uint i = 1; i < knots.size() - 1; ++i) knots[i] = compute_knot(i);
| ~~^~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/dirichlet.cpp -o distributions/dirichlet.o
distributions/dirichlet.cpp: In instantiation of ‘double BOOM::{anonymous}::ddirichlet_impl(const V1&, const V2&, bool) [with V1 = BOOM::Vector; V2 = BOOM::Vector]’:
distributions/dirichlet.cpp:149:27: required from here
149 | return ddirichlet_impl(x, nu, logscale);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
distributions/dirichlet.cpp:101:26: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
101 | for (uint i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
distributions/dirichlet.cpp: In instantiation of ‘double BOOM::{anonymous}::ddirichlet_impl(const V1&, const V2&, bool) [with V1 = BOOM::Vector; V2 = BOOM::VectorView]’:
distributions/dirichlet.cpp:155:27: required from here
155 | return ddirichlet_impl(x, nu, logscale);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
distributions/dirichlet.cpp:101:26: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
101 | for (uint i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
distributions/dirichlet.cpp: In instantiation of ‘double BOOM::{anonymous}::ddirichlet_impl(const V1&, const V2&, bool) [with V1 = BOOM::Vector; V2 = BOOM::ConstVectorView]’:
distributions/dirichlet.cpp:165:27: required from here
165 | return ddirichlet_impl(x, nu, logscale);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
distributions/dirichlet.cpp:101:26: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
101 | for (uint i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/extreme_value.cpp -o distributions/extreme_value.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/gig.cpp -o distributions/gig.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/inverse_gaussian.cpp -o distributions/inverse_gaussian.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/matrix_normal.cpp -o distributions/matrix_normal.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/mvn.cpp -o distributions/mvn.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/mvt.cpp -o distributions/mvt.o
distributions/mvn.cpp: In function ‘BOOM::Vector BOOM::rmvn_mt(RNG&, const Vector&, const DiagonalMatrix&)’:
distributions/mvn.cpp:90:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
90 | for (int i = 0; i < mu.size(); ++i) {
| ~~^~~~~~~~~~~
distributions/mvn.cpp: In function ‘BOOM::Vector& BOOM::impute_mvn(Vector&, const Vector&, const SpdMatrix&, const Selector&, RNG&)’:
distributions/mvn.cpp:150:28: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
150 | if (observation.size() != observed.nvars_possible()) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/random_cor.cpp -o distributions/random_cor.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/random_int.cpp -o distributions/random_int.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/rlexp.cpp -o distributions/rlexp.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/rmulti.cpp -o distributions/rmulti.o
distributions/rmulti.cpp: In function ‘std::vector<int> BOOM::rmulti_vector_mt(RNG&, int, const Vector&)’:
distributions/rmulti.cpp:107:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
107 | for (int i = 1; i < probs.size(); ++i) {
| ~~^~~~~~~~~~~~~~
distributions/rmulti.cpp:127:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | for (int j = 0; j < probs.size(); ++j) {
| ~~^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/rng.cpp -o distributions/rng.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/rtriangle.cpp -o distributions/rtriangle.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/student_fix.cpp -o distributions/student_fix.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/trun_exp.cpp -o distributions/trun_exp.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/trun_gamma.cpp -o distributions/trun_gamma.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/trun_logit.cpp -o distributions/trun_logit.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/trun_norm.cpp -o distributions/trun_norm.o
distributions/trun_norm.cpp: In function ‘std::ostream& BOOM::{anonymous}::operator<<(std::ostream&, const std::vector<double>&)’:
distributions/trun_norm.cpp:95:26: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | for (uint i = 0; i < v.size(); ++i) out << v[i] << " ";
| ~~^~~~~~~~~~
distributions/trun_norm.cpp: In member function ‘void BOOM::TnSampler::refresh_knots()’:
distributions/trun_norm.cpp:147:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
147 | for (uint i = 1; i < knots.size(); ++i) knots[i] = compute_knot(i);
| ~~^~~~~~~~~~~~~~
distributions/trun_norm.cpp: In member function ‘void BOOM::TnSampler::update_cdf()’:
distributions/trun_norm.cpp:188:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
188 | for (uint k = 0; k < knots.size(); ++k) {
| ~~^~~~~~~~~~~~~~
distributions/trun_norm.cpp: In member function ‘double BOOM::TnSampler::draw(BOOM::RNG&)’:
distributions/trun_norm.cpp:213:15: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
213 | if (k + 1 == cdf.size()) {
| ~~~~~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c distributions/usp.cpp -o distributions/usp.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/AggregatedRegressionModel.cpp -o Models/Glm/AggregatedRegressionModel.o
Models/Glm/AggregatedRegressionModel.cpp: In member function ‘virtual std::ostream& BOOM::Agreg::Group::display(std::ostream&) const’:
Models/Glm/AggregatedRegressionModel.cpp:54:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
54 | if (x.size() != p) {
| ~~~~~~~~~^~~~
Models/Glm/AggregatedRegressionModel.cpp: In member function ‘void BOOM::Agreg::Group::distribute_total(const BOOM::Vector&, double)’:
Models/Glm/AggregatedRegressionModel.cpp:89:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | for (int i = 0; i < unit_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/Glm/AggregatedRegressionModel.cpp: In member function ‘void BOOM::Agreg::Group::initialize_unit_values()’:
Models/Glm/AggregatedRegressionModel.cpp:195:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
195 | for (int i = 0; i < unit_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/Glm/AggregatedRegressionModel.cpp: In member function ‘void BOOM::AggregatedRegressionModel::initialize_groups(const BOOM::Matrix&, const std::vector<std::__cxx11::basic_string<char> >&, const BOOM::Vector&)’:
Models/Glm/AggregatedRegressionModel.cpp:238:17: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
238 | if (nrow(X) != group_names.size() || nrow(X) != group_values.size()) {
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
Models/Glm/AggregatedRegressionModel.cpp:238:50: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
238 | if (nrow(X) != group_names.size() || nrow(X) != group_values.size()) {
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
Models/Glm/AggregatedRegressionModel.cpp:248:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
248 | for (int i = 0; i < group_names.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
Models/Glm/AggregatedRegressionModel.cpp:256:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::Agreg::Group>, std::allocator<BOOM::Ptr<BOOM::Agreg::Group> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
256 | for (int i = 0; i < dat().size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/Glm/AggregatedRegressionModel.cpp: In member function ‘void BOOM::AggregatedRegressionModel::distribute_group_totals()’:
Models/Glm/AggregatedRegressionModel.cpp:281:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::Agreg::Group>, std::allocator<BOOM::Ptr<BOOM::Agreg::Group> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
281 | for (int i = 0; i < dat().size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/Glm/AggregatedRegressionModel.cpp: In member function ‘void BOOM::AggregatedRegressionModel::refresh_suf()’:
Models/Glm/AggregatedRegressionModel.cpp:291:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
291 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/BinomialLogitModel.cpp -o Models/Glm/BinomialLogitModel.o
Models/Glm/BinomialLogitModel.cpp: In member function ‘virtual double BOOM::BinomialLogitModel::log_likelihood(const BOOM::Vector&, BOOM::Vector*, BOOM::Matrix*, bool) const’:
Models/Glm/BinomialLogitModel.cpp:158:46: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
158 | bool all_coefficients_included = (xdim() == beta.size());
| ~~~~~~~^~~~~~~~~~~~~~
Models/Glm/BinomialLogitModel.cpp:160:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
160 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/BinomialProbitModel.cpp -o Models/Glm/BinomialProbitModel.o
Models/Glm/BinomialProbitModel.cpp: In member function ‘virtual double BOOM::BinomialProbitModel::log_likelihood(const BOOM::Vector&, BOOM::Vector*, BOOM::Matrix*, bool) const’:
Models/Glm/BinomialProbitModel.cpp:152:46: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
152 | bool all_coefficients_included = (xdim() == beta.size());
| ~~~~~~~^~~~~~~~~~~~~~
Models/Glm/BinomialProbitModel.cpp:154:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
154 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/BinomialRegressionData.cpp -o Models/Glm/BinomialRegressionData.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/ChoiceData.cpp -o Models/Glm/ChoiceData.o
Models/Glm/ChoiceData.cpp: In member function ‘virtual std::ostream& BOOM::ChoiceData::display(std::ostream&) const’:
Models/Glm/ChoiceData.cpp:60:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::VectorData> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
60 | for (uint i = 0; i < xchoice_.size(); ++i) out << Xchoice(i) << " ";
| ~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/GammaRegressionModel.cpp -o Models/Glm/GammaRegressionModel.o
In file included from ../inst/include/Models/GammaModel.hpp:29,
from ../inst/include/Models/Glm/GammaRegressionModel.hpp:22,
from Models/Glm/GammaRegressionModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::GlmData<BOOM::UnivData<double> >; S = BOOM::GammaRegressionConditionalSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::GlmData<BOOM::UnivData<double> >; S = BOOM::GammaRegressionConditionalSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/Glm/GammaRegressionModel.hpp:166:9: required from here
166 | class GammaRegressionModelConditionalSuf
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > >, std::allocator<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/Glm.cpp -o Models/Glm/Glm.o
Models/Glm/Glm.cpp: In member function ‘void BOOM::GlmBaseData::set_x(const BOOM::Vector&, bool)’:
Models/Glm/Glm.cpp:39:32: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
39 | if (allow_any || x_->dim() == X.size()) {
| ~~~~~~~~~~^~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/GlmCoefs.cpp -o Models/Glm/GlmCoefs.o
Models/Glm/GlmCoefs.cpp: In member function ‘void BOOM::GlmCoefs::set_included_coefficients(const BOOM::Vector&)’:
Models/Glm/GlmCoefs.cpp:199:18: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
199 | if (b.size() != nvars()) wrong_size_beta(b);
| ~~~~~~~~~^~~~~~~~~~
Models/Glm/GlmCoefs.cpp: In member function ‘void BOOM::GlmCoefs::set_Beta(const BOOM::Vector&)’:
Models/Glm/GlmCoefs.cpp:230:20: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
230 | if (tmp.size() != nvars_possible()) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/HierarchicalPoissonRegression.cpp -o Models/Glm/HierarchicalPoissonRegression.o
Models/Glm/HierarchicalPoissonRegression.cpp: In copy constructor ‘BOOM::HierarchicalPoissonRegressionModel::HierarchicalPoissonRegressionModel(const BOOM::HierarchicalPoissonRegressionModel&)’:
Models/Glm/HierarchicalPoissonRegression.cpp:37:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonRegressionModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
37 | for (int i = 0; i < rhs.data_level_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/HierarchicalPoissonRegression.cpp: In member function ‘virtual void BOOM::HierarchicalPoissonRegressionModel::clear_data()’:
Models/Glm/HierarchicalPoissonRegression.cpp:65:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonRegressionModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
65 | for (int i = 0; i < data_level_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/LogisticRegressionModel.cpp -o Models/Glm/LogisticRegressionModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/LoglinearModel.cpp -o Models/Glm/LoglinearModel.o
In file included from ../inst/include/Models/Glm/LoglinearModel.hpp:35,
from Models/Glm/LoglinearModel.cpp:23:
../inst/include/stats/Encoders.hpp: In member function ‘virtual void BOOM::InteractionEncoder::encode_row(const BOOM::MixedMultivariateData&, BOOM::VectorView) const’:
../inst/include/stats/Encoders.hpp:123:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
123 | for (int i = 0; i < wsp1_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
../inst/include/stats/Encoders.hpp:124:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | for (int j = 0; j < wsp2_.size(); ++j) {
| ~~^~~~~~~~~~~~~~
Models/Glm/LoglinearModel.cpp: In member function ‘std::vector<int> BOOM::MultivariateCategoricalData::to_vector() const’:
Models/Glm/LoglinearModel.cpp:75:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::CategoricalData> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
75 | for (int i = 0; i < data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/Glm/LoglinearModel.cpp: In member function ‘virtual void BOOM::LoglinearModelSuf::Update(const BOOM::{anonymous}::MCD&)’:
Models/Glm/LoglinearModel.cpp:301:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
301 | for (int j = 0; j < index.size(); ++j) {
| ~~^~~~~~~~~~~~~~
Models/Glm/LoglinearModel.cpp: In constructor ‘BOOM::LoglinearModel::LoglinearModel(const BOOM::DataTable&)’:
Models/Glm/LoglinearModel.cpp:364:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
364 | for (size_t i = 0; i < table.nrow(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/Glm/LoglinearModel.cpp: In member function ‘void BOOM::LoglinearModel::add_interaction(const std::vector<int>&)’:
Models/Glm/LoglinearModel.cpp:404:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
404 | for (int i = 0; i < vars.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/Glm/LoglinearModel.cpp:405:34: warning: comparison of integer expressions of different signedness: ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’} and ‘std::vector<BOOM::Ptr<BOOM::CategoricalMainEffect> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
405 | if (vars[i] < 0 || vars[i] >= main_effects_.size()) {
Models/Glm/LoglinearModel.cpp:415:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
415 | for (int i = 2; i < vars.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/Glm/LoglinearModel.cpp: In member function ‘void BOOM::LoglinearModel::set_effect_coefficients(const BOOM::Vector&, int)’:
Models/Glm/LoglinearModel.cpp:433:29: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
433 | if (coefficients.size() != enc.dim()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
Models/Glm/LoglinearModel.cpp: In instantiation of ‘BOOM::Vector BOOM::{anonymous}::encode_variable(const DATA&, const std::vector<BOOM::Ptr<BOOM::CategoricalDataEncoder> >&, int, bool) [with DATA = BOOM::MultivariateCategoricalData]’:
Models/Glm/LoglinearModel.cpp:215:27: required from here
215 | return encode_variable(data, encoders_, dim(), add_intercept_);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/LoglinearModel.cpp:203:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::CategoricalDataEncoder> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (int i = 0; i < encoders.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/Glm/LoglinearModel.cpp: In instantiation of ‘BOOM::Vector BOOM::{anonymous}::encode_variable(const DATA&, const std::vector<BOOM::Ptr<BOOM::CategoricalDataEncoder> >&, int, bool) [with DATA = std::vector<int>]’:
Models/Glm/LoglinearModel.cpp:219:27: required from here
219 | return encode_variable(data, encoders_, dim(), add_intercept_);
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/LoglinearModel.cpp:203:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::CategoricalDataEncoder> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (int i = 0; i < encoders.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/Glm/LoglinearModel.hpp:27:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::MultivariateCategoricalData; S = BOOM::LoglinearModelSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::MultivariateCategoricalData; S = BOOM::LoglinearModelSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/Glm/LoglinearModel.hpp:309:9: required from here
309 | class LoglinearModel
| ^~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::MultivariateCategoricalData> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/MultinomialLogitModel.cpp -o Models/Glm/MultinomialLogitModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/MultinomialProbitModel.cpp -o Models/Glm/MultinomialProbitModel.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/MLVS_data_imputer.hpp:26,
from ../inst/include/Models/Glm/PosteriorSamplers/MLVS.hpp:23,
from Models/Glm/MultinomialLogitModel.cpp:24:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/Glm/MultinomialLogitModel.cpp: In constructor ‘BOOM::MultinomialLogitModel::MultinomialLogitModel(const std::vector<BOOM::Ptr<BOOM::CategoricalData> >&, const BOOM::Matrix&, const std::vector<BOOM::Matrix>&)’:
Models/Glm/MultinomialLogitModel.cpp:65:45: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
65 | (!Xchoice.empty() && Xchoice.size() != n)) {
| ~~~~~~~~~~~~~~~^~~~
Models/Glm/MultinomialLogitModel.cpp: In member function ‘double BOOM::MultinomialLogitModel::log_likelihood(const BOOM::Vector&, BOOM::Vector&, BOOM::Matrix&, int) const’:
Models/Glm/MultinomialLogitModel.cpp:193:53: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
193 | bool downsampling = log_sampling_probs().size() == Nchoices();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
Models/Glm/MultinomialProbitModel.cpp: In constructor ‘BOOM::MultinomialProbitModel::MultinomialProbitModel(const std::vector<BOOM::Ptr<BOOM::ChoiceData>, std::allocator<BOOM::Ptr<BOOM::ChoiceData> > >&)’:
Models/Glm/MultinomialProbitModel.cpp:54:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::ChoiceData>, std::allocator<BOOM::Ptr<BOOM::ChoiceData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
54 | for (uint i = 0; i < d.size(); ++i) add_data(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/MultivariateRegression.cpp -o Models/Glm/MultivariateRegression.o
In file included from ../inst/include/Models/Glm/MultivariateRegression.hpp:25,
from Models/Glm/MultivariateRegression.cpp:19:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::GlmData<BOOM::VectorData>; S = BOOM::MvRegSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::GlmData<BOOM::VectorData>; S = BOOM::MvRegSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/Glm/MultivariateRegression.hpp:162:5: required from here
162 | MultivariateRegressionModel(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::VectorData> >, std::allocator<BOOM::Ptr<BOOM::GlmData<BOOM::VectorData> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/MvnGivenX.cpp -o Models/Glm/MvnGivenX.o
Models/Glm/MvnGivenX.cpp: In member function ‘void BOOM::MvnGivenXMultinomialLogit::set_x(const BOOM::Matrix&, const std::vector<BOOM::Matrix>&, int)’:
Models/Glm/MvnGivenX.cpp:256:39: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
256 | choice_characteristics.size() != nrow(subject_characeristics)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/MvtRegModel.cpp -o Models/Glm/MvtRegModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/OrdinalCutpointModel.cpp -o Models/Glm/OrdinalCutpointModel.o
Models/Glm/OrdinalCutpointModel.cpp: In function ‘double BOOM::{anonymous}::compute_upper_cutpoint(int, const BOOM::Vector&)’:
Models/Glm/OrdinalCutpointModel.cpp:47:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | } else if (y <= cutpoint_vector.size()) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/OrdinalCutpointModel.cpp: In function ‘double BOOM::{anonymous}::compute_lower_cutpoint(int, const BOOM::Vector&)’:
Models/Glm/OrdinalCutpointModel.cpp:60:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
60 | } else if (y - 1 <= cutpoint_vector.size()) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/OrdinalCutpointModel.cpp: In function ‘BOOM::Vector BOOM::{anonymous}::make_default_cutpoint_vector(BOOM::uint)’:
Models/Glm/OrdinalCutpointModel.cpp:70:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
70 | for (int i = 0; i < cutpoints.size(); ++i) cutpoints[i] = i + 1;
| ~~^~~~~~~~~~~~~~~~~~
Models/Glm/OrdinalCutpointModel.cpp: In member function ‘bool BOOM::OrdinalCutpointModel::check_cutpoints(const BOOM::Vector&) const’:
Models/Glm/OrdinalCutpointModel.cpp:157:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
157 | for (uint i = 1; i < d.size(); ++i) {
| ~~^~~~~~~~~~
Models/Glm/OrdinalCutpointModel.cpp: In member function ‘BOOM::Ptr<BOOM::GlmData<BOOM::OrdinalData> > BOOM::OrdinalCutpointModel::sim(BOOM::RNG&)’:
Models/Glm/OrdinalCutpointModel.cpp:214:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
214 | for (int i = 1; i < x.size(); ++i) {
| ~~^~~~~~~~~~
Models/Glm/OrdinalCutpointModel.cpp: In member function ‘double BOOM::OrdinalCutpointModel::full_loglike(const BOOM::Vector&, const BOOM::Vector&, BOOM::Vector&, BOOM::Vector&, BOOM::Matrix&, BOOM::Matrix&, BOOM::Matrix&, BOOM::uint, bool, bool) const’:
Models/Glm/OrdinalCutpointModel.cpp:277:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::OrdinalData> >, std::allocator<BOOM::Ptr<BOOM::GlmData<BOOM::OrdinalData> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
277 | for (uint i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/Glm/OrdinalCutpointModel.cpp:326:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
326 | && upper_cutpoint_index < cutpoints.size()) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Models/Glm/OrdinalCutpointModel.cpp:330:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
330 | && lower_cutpoint_index < cutpoint_gradient.size()) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/OrdinalCutpointModel.cpp:356:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
356 | && upper_cutpoint_index < cutpoints.size();
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Models/Glm/OrdinalCutpointModel.cpp:358:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
358 | && lower_cutpoint_index < cutpoints.size();
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Models/Glm/OrdinalCutpointModel.cpp: In member function ‘void BOOM::OrdinalCutpointModel::initialize_params(const BOOM::Vector&)’:
Models/Glm/OrdinalCutpointModel.cpp:454:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
454 | if (counts.size() != nlevels()) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
Models/Glm/OrdinalCutpointModel.cpp:469:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
469 | for (uint i = 1; i < cutpoint_vector.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PoissonRegressionData.cpp -o Models/Glm/PoissonRegressionData.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PoissonRegressionModel.cpp -o Models/Glm/PoissonRegressionModel.o
Models/Glm/PoissonRegressionModel.cpp: In member function ‘double BOOM::PoissonRegressionModel::log_likelihood(const BOOM::Vector&, BOOM::Vector*, BOOM::Matrix*, bool) const’:
Models/Glm/PoissonRegressionModel.cpp:68:21: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
68 | if (beta.size() != nvars) {
| ~~~~~~~~~~~~^~~~~~~~
Models/Glm/PoissonRegressionModel.cpp:77:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonRegressionData>, std::allocator<BOOM::Ptr<BOOM::PoissonRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
77 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/ProbitRegression.cpp -o Models/Glm/ProbitRegression.o
Models/Glm/ProbitRegression.cpp: In member function ‘double BOOM::ProbitRegressionModel::log_likelihood(const BOOM::Vector&, BOOM::Vector*, BOOM::Matrix*, bool) const’:
Models/Glm/ProbitRegression.cpp:87:21: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
87 | if (beta.size() != beta_dim) {
| ~~~~~~~~~~~~^~~~~~~~~~~
Models/Glm/ProbitRegression.cpp: In member function ‘BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<bool> > > BOOM::ProbitRegressionModel::sim(BOOM::RNG&) const’:
Models/Glm/ProbitRegression.cpp:150:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
150 | for (int i = 1; i < x.size(); ++i) x[i] = rnorm_mt(rng);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/QuantileRegressionModel.cpp -o Models/Glm/QuantileRegressionModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/RegressionModel.cpp -o Models/Glm/RegressionModel.o
Models/Glm/RegressionModel.cpp: In constructor ‘BOOM::NeRegSuf::NeRegSuf(const BOOM::Matrix&, const BOOM::Vector&)’:
Models/Glm/RegressionModel.cpp:317:18: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
317 | if (X.nrow() != y.size()) {
| ~~~~~~~~~^~~~~~~~~~~
Models/Glm/RegressionModel.cpp: In constructor ‘BOOM::NeRegSuf::NeRegSuf(const BOOM::SpdMatrix&, const BOOM::Vector&, double, double, double, const BOOM::Vector&)’:
Models/Glm/RegressionModel.cpp:341:20: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
341 | if (XTX.nrow() != XTY.size() || XTY.size() != xbar.size()) {
| ~~~~~~~~~~~^~~~~~~~~~~~~
Models/Glm/RegressionModel.cpp: In member function ‘void BOOM::BigRegressionModel::stream_data_for_initial_screen(const BOOM::RegressionData&)’:
Models/Glm/RegressionModel.cpp:786:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::RegressionModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
786 | for (uint m = 0; m < subordinate_models_.size(); ++m) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/Glm/RegressionModel.hpp:33,
from Models/Glm/RegressionModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::GlmData<BOOM::UnivData<double> >; S = BOOM::RegSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:94:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::Ptr<P2>&, const DatasetType&) [with D = BOOM::GlmData<BOOM::UnivData<double> >; S = BOOM::RegSuf; DatasetType = std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >]’
94 | refresh_suf();
| ^~~~~~~~~~~
Models/Glm/RegressionModel.cpp:513:20: required from here
513 | : DPBase(s, d) {}
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/RegressionSlabPrior.cpp -o Models/Glm/RegressionSlabPrior.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/TRegression.cpp -o Models/Glm/TRegression.o
Models/Glm/TRegression.cpp: In constructor ‘BOOM::TRegressionModel::TRegressionModel(const BOOM::Matrix&, const BOOM::Vector&)’:
Models/Glm/TRegression.cpp:46:18: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
46 | if (X.nrow() != y.size()) {
| ~~~~~~~~~^~~~~~~~~~~
Models/Glm/TRegression.cpp:49:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
49 | for (int i = 0; i < y.size(); ++i) {
| ~~^~~~~~~~~~
Models/Glm/TRegression.cpp: In member function ‘double BOOM::TRegressionModel::log_likelihood(const BOOM::Vector&, double, double) const’:
Models/Glm/TRegression.cpp:81:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
81 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/Glm/TRegression.cpp: In member function ‘virtual double BOOM::TRegressionModel::Loglike(const BOOM::Vector&, BOOM::Vector&, BOOM::Matrix&, BOOM::uint) const’:
Models/Glm/TRegression.cpp:102:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
102 | for (uint i = 0; i < dat().size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/Glm/TRegression.cpp: In member function ‘void BOOM::TRegressionModel::EStep(BOOM::WeightedRegSuf&) const’:
Models/Glm/TRegression.cpp:209:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
209 | for (uint i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/VariableSelectionPrior.cpp -o Models/Glm/VariableSelectionPrior.o
Models/Glm/VariableSelectionPrior.cpp: In member function ‘virtual void BOOM::ModelSelection::Interaction::make_valid(BOOM::Selector&) const’:
Models/Glm/VariableSelectionPrior.cpp:159:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
159 | for (int i = 0; i < parent_pos_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
Models/Glm/VariableSelectionPrior.cpp: In member function ‘virtual void BOOM::VariableSelectionPrior::make_valid(BOOM::Selector&) const’:
Models/Glm/VariableSelectionPrior.cpp:283:30: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
283 | if (inc.nvars_possible() != probs.size()) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
Models/Glm/VariableSelectionPrior.cpp:286:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
286 | for (int i = 0; i < probs.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/Glm/VariableSelectionPrior.cpp: In member function ‘void BOOM::StructuredVariableSelectionPrior::check_size_eq(BOOM::uint, const std::string&) const’:
Models/Glm/VariableSelectionPrior.cpp:350:22: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::ModelSelection::Variable> >::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
350 | if (vars_.size() == n) return;
| ~~~~~~~~~~~~~^~~~
Models/Glm/VariableSelectionPrior.cpp: In member function ‘void BOOM::StructuredVariableSelectionPrior::check_size_gt(BOOM::uint, const std::string&) const’:
Models/Glm/VariableSelectionPrior.cpp:359:22: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::ModelSelection::Variable> >::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
359 | if (vars_.size() > n) return;
| ~~~~~~~~~~~~~^~~
Models/Glm/VariableSelectionPrior.cpp: In member function ‘BOOM::Vector BOOM::StructuredVariableSelectionPrior::prior_inclusion_probabilities() const’:
Models/Glm/VariableSelectionPrior.cpp:380:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
380 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
In file included from ../inst/include/Models/BinomialModel.hpp:27,
from ../inst/include/Models/Glm/ModelSelectionConcepts.hpp:23,
from ../inst/include/Models/Glm/VariableSelectionPrior.hpp:25,
from Models/Glm/VariableSelectionPrior.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::GlmCoefs; S = BOOM::VariableSelectionSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::GlmCoefs; S = BOOM::VariableSelectionSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/Glm/VariableSelectionPrior.cpp:340:46: required from here
340 | pi_(new VectorParams(rhs.pi_->size())) {
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::GlmCoefs>, std::allocator<BOOM::Ptr<BOOM::GlmCoefs> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/WeightedRegressionModel.cpp -o Models/Glm/WeightedRegressionModel.o
Models/Glm/WeightedRegressionModel.cpp: In member function ‘virtual void BOOM::WeightedRegSuf::recompute(const std::vector<BOOM::Ptr<BOOM::WeightedGlmData<BOOM::UnivData<double> > > >&)’:
Models/Glm/WeightedRegressionModel.cpp:140:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::WeightedGlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
140 | for (uint i = 0; i < data.size(); ++i) update(data[i]);
| ~~^~~~~~~~~~~~~
In file included from ../inst/include/Models/Glm/RegressionModel.hpp:33,
from ../inst/include/Models/Glm/WeightedRegressionModel.hpp:24,
from Models/Glm/WeightedRegressionModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::WeightedGlmData<BOOM::UnivData<double> >; S = BOOM::WeightedRegSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:94:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::Ptr<P2>&, const DatasetType&) [with D = BOOM::WeightedGlmData<BOOM::UnivData<double> >; S = BOOM::WeightedRegSuf; DatasetType = std::vector<BOOM::Ptr<BOOM::WeightedGlmData<BOOM::UnivData<double> > > >]’
94 | refresh_suf();
| ^~~~~~~~~~~
Models/Glm/WeightedRegressionModel.cpp:246:77: required from here
246 | DataPolicy(new WRS(X.ncol()), make_data(X, y, Vector(y.size(), 1.0))) {
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::WeightedGlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/ZeroInflatedGammaRegression.cpp -o Models/Glm/ZeroInflatedGammaRegression.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/ZeroInflatedLognormalRegression.cpp -o Models/Glm/ZeroInflatedLognormalRegression.o
Models/Glm/ZeroInflatedLognormalRegression.cpp: In member function ‘double BOOM::ZeroInflatedLognormalRegressionModel::log_likelihood(const BOOM::Vector&, const BOOM::Vector&, double) const’:
Models/Glm/ZeroInflatedLognormalRegression.cpp:113:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
113 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
In file included from ../inst/include/Models/Glm/RegressionModel.hpp:33,
from ../inst/include/Models/Glm/ZeroInflatedLognormalRegression.hpp:25,
from Models/Glm/ZeroInflatedLognormalRegression.cpp:19:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::GlmData<BOOM::UnivData<double> >; S = BOOM::RegSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::GlmData<BOOM::UnivData<double> >; S = BOOM::RegSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/Glm/ZeroInflatedLognormalRegression.hpp:47:9: required from here
47 | class ZeroInflatedLognormalRegressionModel
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/ZeroInflatedPoissonRegression.cpp -o Models/Glm/ZeroInflatedPoissonRegression.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/AdaptiveSpikeSlabRegressionSampler.cpp -o Models/Glm/PosteriorSamplers/AdaptiveSpikeSlabRegressionSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/AggregatedRegressionSampler.cpp -o Models/Glm/PosteriorSamplers/AggregatedRegressionSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/BigAssSpikeSlabSampler.cpp -o Models/Glm/PosteriorSamplers/BigAssSpikeSlabSampler.o
In file included from Models/Glm/PosteriorSamplers/BigAssSpikeSlabSampler.cpp:22:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/BigAssSpikeSlabSampler.cpp: In member function ‘void BOOM::BigAssSpikeSlabSampler::run_parallel_initial_screen(int, double, bool)’:
Models/Glm/PosteriorSamplers/BigAssSpikeSlabSampler.cpp:198:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
198 | for (int column = 0; column < inclusion_probabilities.size(); ++column) {
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.cpp -o Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.hpp:23,
from Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In instantiation of ‘void BOOM::assign_data_to_workers(const std::vector<Ptr<OBSERVED_DATA> >&, std::vector<Ptr<SUFFICIENT_STATISTICS> >&) [with OBSERVED_DATA = BinomialRegressionData; WORKER = BinomialLogit::ImputeWorker]’:
Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.cpp:141:33: required from here
141 | BOOM::assign_data_to_workers(model_->dat(), workers());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:360:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
360 | for (int i = 0; i < nobs; ++i) {
| ~~^~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:364:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
364 | for (int i = nobs; i < number_of_workers; ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:368:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
368 | for (int i = 0; i < number_of_workers; ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:370:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
370 | if (e > end || (i + 1) == number_of_workers) e = end;
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/BinomialLogitCompositeSpikeSlabSampler.cpp -o Models/Glm/PosteriorSamplers/BinomialLogitCompositeSpikeSlabSampler.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.hpp:23,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.hpp:23,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitCompositeSpikeSlabSampler.hpp:22,
from Models/Glm/PosteriorSamplers/BinomialLogitCompositeSpikeSlabSampler.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/BinomialLogitDataImputer.cpp -o Models/Glm/PosteriorSamplers/BinomialLogitDataImputer.o
Models/Glm/PosteriorSamplers/BinomialLogitDataImputer.cpp: In member function ‘std::pair<double, double> BOOM::BinomialLogitCltDataImputer::impute_large_sample(BOOM::RNG&, double, double, double) const’:
Models/Glm/PosteriorSamplers/BinomialLogitDataImputer.cpp:183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
183 | for (int m = 0; m < N0.size(); ++m) {
| ~~^~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/BinomialLogitSamplerRwm.cpp -o Models/Glm/PosteriorSamplers/BinomialLogitSamplerRwm.o
Models/Glm/PosteriorSamplers/BinomialLogitSamplerRwm.cpp: In member function ‘virtual void BOOM::BinomialLogitSamplerRwm::draw()’:
Models/Glm/PosteriorSamplers/BinomialLogitSamplerRwm.cpp:54:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
54 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/BinomialLogitSamplerTim.cpp -o Models/Glm/PosteriorSamplers/BinomialLogitSamplerTim.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.cpp -o Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.hpp:23,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.hpp:23,
from Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.cpp:19:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.cpp: In member function ‘void BOOM::BinomialLogitSpikeSlabSampler::draw_model_indicators()’:
Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.cpp:185:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
185 | for (int i = 0; i < indx.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/BinomialProbitCompositeSpikeSlabSampler.cpp -o Models/Glm/PosteriorSamplers/BinomialProbitCompositeSpikeSlabSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/BinomialProbitDataImputer.cpp -o Models/Glm/PosteriorSamplers/BinomialProbitDataImputer.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/BinomialProbitSpikeSlabSampler.cpp -o Models/Glm/PosteriorSamplers/BinomialProbitSpikeSlabSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/BinomialProbitTimSampler.cpp -o Models/Glm/PosteriorSamplers/BinomialProbitTimSampler.o
Models/Glm/PosteriorSamplers/BinomialProbitSpikeSlabSampler.cpp: In member function ‘void BOOM::BinomialProbitSpikeSlabSampler::impute_latent_data()’:
Models/Glm/PosteriorSamplers/BinomialProbitSpikeSlabSampler.cpp:64:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
64 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/BinomialProbitSpikeSlabSampler.cpp: In member function ‘void BOOM::BinomialProbitSpikeSlabSampler::refresh_xtx()’:
Models/Glm/PosteriorSamplers/BinomialProbitSpikeSlabSampler.cpp:75:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
75 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/BregVsSampler.cpp -o Models/Glm/PosteriorSamplers/BregVsSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/CorrelationMap.cpp -o Models/Glm/PosteriorSamplers/CorrelationMap.o
Models/Glm/PosteriorSamplers/CorrelationMap.cpp: In member function ‘int BOOM::CorrelationMap::propose_swap(BOOM::RNG&, const BOOM::Selector&, int, double*) const’:
Models/Glm/PosteriorSamplers/CorrelationMap.cpp:71:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
71 | for (int i = 0; i < candidate_indices.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/CorrelationMap.cpp: In member function ‘double BOOM::CorrelationMap::proposal_weight(const BOOM::Selector&, int, int) const’:
Models/Glm/PosteriorSamplers/CorrelationMap.cpp:102:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
102 | for (int i = 0; i < candidate_indices.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/DAFE_MLM.cpp -o Models/Glm/PosteriorSamplers/DAFE_MLM.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/GammaRegressionPosteriorSampler.cpp -o Models/Glm/PosteriorSamplers/GammaRegressionPosteriorSampler.o
Models/Glm/PosteriorSamplers/DAFE_MLM.cpp: In member function ‘void BOOM::DafeMlmBase::compute_xtx()’:
Models/Glm/PosteriorSamplers/DAFE_MLM.cpp:73:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::ChoiceData>, std::allocator<BOOM::Ptr<BOOM::ChoiceData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
73 | for (uint i = 0; i < d.size(); ++i) {
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/HierarchicalPoissonRegressionSampler.cpp -o Models/Glm/PosteriorSamplers/HierarchicalPoissonRegressionSampler.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/PoissonRegressionAuxMixSampler.hpp:30,
from ../inst/include/Models/Glm/PosteriorSamplers/HierarchicalPoissonRegressionSampler.hpp:24,
from Models/Glm/PosteriorSamplers/HierarchicalPoissonRegressionSampler.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/HierarchicalPoissonRegressionSampler.cpp: In member function ‘void BOOM::HierarchicalPoissonRegressionPosteriorSampler::check_data_model_samplers()’:
Models/Glm/PosteriorSamplers/HierarchicalPoissonRegressionSampler.cpp:73:40: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::PoissonRegressionAuxMixSampler> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
73 | while (data_model_samplers_.size() < nmodels) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
Models/Glm/PosteriorSamplers/HierarchicalPoissonRegressionSampler.cpp: In member function ‘void BOOM::HierarchicalPoissonRegressionPosteriorSampler::impute_latent_data()’:
Models/Glm/PosteriorSamplers/HierarchicalPoissonRegressionSampler.cpp:86:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonRegressionAuxMixSampler> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
86 | for (int i = 0; i < data_model_samplers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/HierarchicalPoissonRegressionSampler.cpp: In constructor ‘BOOM::HierarchicalPoissonRegressionIndependencePosteriorSampler::HierarchicalPoissonRegressionIndependencePosteriorSampler(BOOM::HierarchicalPoissonRegressionModel*, const BOOM::Ptr<BOOM::MvnBase>&, const std::vector<BOOM::Ptr<BOOM::GammaModelBase> >&, const BOOM::Vector&, int)’:
Models/Glm/PosteriorSamplers/HierarchicalPoissonRegressionSampler.cpp:183:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GammaModelBase> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
183 | if (model->xdim() != siginv_priors.size()) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/HierarchicalPoissonRegressionSampler.cpp:189:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
189 | if (model->xdim() != upper_sigma_truncation_point.size()) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/LogitSampler.cpp -o Models/Glm/PosteriorSamplers/LogitSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/LogitSamplerBma.cpp -o Models/Glm/PosteriorSamplers/LogitSamplerBma.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/LoglinearModelBipfSampler.cpp -o Models/Glm/PosteriorSamplers/LoglinearModelBipfSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/MLAuxMixSampler.cpp -o Models/Glm/PosteriorSamplers/MLAuxMixSampler.o
In file included from ../inst/include/Models/Glm/LoglinearModel.hpp:35,
from ../inst/include/Models/Glm/PosteriorSamplers/LoglinearModelBipfSampler.hpp:22,
from Models/Glm/PosteriorSamplers/LoglinearModelBipfSampler.cpp:19:
../inst/include/stats/Encoders.hpp: In member function ‘virtual void BOOM::InteractionEncoder::encode_row(const BOOM::MixedMultivariateData&, BOOM::VectorView) const’:
../inst/include/stats/Encoders.hpp:123:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
123 | for (int i = 0; i < wsp1_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
../inst/include/stats/Encoders.hpp:124:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | for (int j = 0; j < wsp2_.size(); ++j) {
| ~~^~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/LoglinearModelBipfSampler.cpp: In member function ‘void BOOM::LoglinearModelBipfSampler::draw_effect_parameters(int)’:
Models/Glm/PosteriorSamplers/LoglinearModelBipfSampler.cpp:72:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
72 | for (int i = 0; i < which_variables.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/MLVS_data_imputer.hpp:26,
from ../inst/include/Models/Glm/PosteriorSamplers/MLVS.hpp:23,
from ../inst/include/Models/Glm/PosteriorSamplers/MLAuxMixSampler.hpp:25,
from Models/Glm/PosteriorSamplers/MLAuxMixSampler.cpp:19:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/MLVS.cpp -o Models/Glm/PosteriorSamplers/MLVS.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/MLVS_data_imputer.hpp:26,
from ../inst/include/Models/Glm/PosteriorSamplers/MLVS.hpp:23,
from Models/Glm/PosteriorSamplers/MLVS.cpp:19:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/MLVS.cpp: In constructor ‘BOOM::MLVS::MLVS(BOOM::{anonymous}::MLM*, const BOOM::Ptr<BOOM::MvnBase>&, const BOOM::Ptr<BOOM::VariableSelectionPrior>&, BOOM::uint, bool, BOOM::RNG&)’:
Models/Glm/PosteriorSamplers/MLVS.cpp:53:50: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
53 | downsampling_(log_sampling_probs_.size() == mod_->Nchoices()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In instantiation of ‘void BOOM::assign_data_to_workers(const std::vector<Ptr<Y> >&, std::vector<Ptr<SUFFICIENT_STATISTICS> >&) [with OBSERVED_DATA = ChoiceData; WORKER = MlvsDataImputer]’:
Models/Glm/PosteriorSamplers/MLVS.cpp:84:33: required from here
84 | BOOM::assign_data_to_workers(mod_->dat(), workers());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:360:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
360 | for (int i = 0; i < nobs; ++i) {
| ~~^~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:364:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
364 | for (int i = nobs; i < number_of_workers; ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:368:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
368 | for (int i = 0; i < number_of_workers; ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:370:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
370 | if (e > end || (i + 1) == number_of_workers) e = end;
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/MLVS_data_imputer.cpp -o Models/Glm/PosteriorSamplers/MLVS_data_imputer.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/MLVS_data_imputer.hpp:26,
from Models/Glm/PosteriorSamplers/MLVS_data_imputer.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/MLVS_data_imputer.cpp: In constructor ‘BOOM::MlvsDataImputer::MlvsDataImputer(SufficientStatistics&, std::mutex&, BOOM::MultinomialLogitModel*, BOOM::RNG*, BOOM::RNG&)’:
Models/Glm/PosteriorSamplers/MLVS_data_imputer.cpp:45:50: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
45 | downsampling_(log_sampling_probs_.size() == model_->Nchoices()),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/MlogitRwm.cpp -o Models/Glm/PosteriorSamplers/MlogitRwm.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/MnpBetaGivenSigmaSampler.cpp -o Models/Glm/PosteriorSamplers/MnpBetaGivenSigmaSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/MnpBetaSampler.cpp -o Models/Glm/PosteriorSamplers/MnpBetaSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/MultinomialLogitCompleteDataSuf.cpp -o Models/Glm/PosteriorSamplers/MultinomialLogitCompleteDataSuf.o
Models/Glm/PosteriorSamplers/MultinomialLogitCompleteDataSuf.cpp: In member function ‘void BOOM::MultinomialLogit::CompleteDataSufficientStatistics::update(const BOOM::ChoiceData&, const BOOM::Vector&, const BOOM::Vector&)’:
Models/Glm/PosteriorSamplers/MultinomialLogitCompleteDataSuf.cpp:47:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | for (int i = 0; i < wgts.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/MultinomialLogitCompositeSpikeSlabSampler.cpp -o Models/Glm/PosteriorSamplers/MultinomialLogitCompositeSpikeSlabSampler.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/MLVS_data_imputer.hpp:26,
from ../inst/include/Models/Glm/PosteriorSamplers/MLVS.hpp:23,
from ../inst/include/Models/Glm/PosteriorSamplers/MultinomialLogitCompositeSpikeSlabSampler.hpp:24,
from Models/Glm/PosteriorSamplers/MultinomialLogitCompositeSpikeSlabSampler.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/MultivariateRegressionSampler.cpp -o Models/Glm/PosteriorSamplers/MultivariateRegressionSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/MultivariateRegressionSpikeSlabSampler.cpp -o Models/Glm/PosteriorSamplers/MultivariateRegressionSpikeSlabSampler.o
In file included from ../inst/include/LinAlg/Matrix.hpp:25,
from ../inst/include/LinAlg/QR.hpp:22,
from ../inst/include/Models/Glm/MultivariateRegression.hpp:21,
from ../inst/include/Models/Glm/PosteriorSamplers/MultivariateRegressionSpikeSlabSampler.hpp:22,
from Models/Glm/PosteriorSamplers/MultivariateRegressionSpikeSlabSampler.cpp:19:
../inst/include/LinAlg/VectorView.hpp: In instantiation of ‘double BOOM::sumlog(const VEC&) [with VEC = ConstVectorView]’:
../inst/include/Models/Glm/PosteriorSamplers/MultivariateRegressionSpikeSlabSampler.hpp:57:46: required from here
57 | double logdet() const { return 2 * sumlog(chol_.diag()); }
| ~~~~~~^~~~~~~~~~~~~~
../inst/include/LinAlg/VectorView.hpp:283:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
283 | for (size_t i = 0; i < v.size(); ++i) {
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/MvtRegSampler.cpp -o Models/Glm/PosteriorSamplers/MvtRegSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/NonconjugateRegressionSampler.cpp -o Models/Glm/PosteriorSamplers/NonconjugateRegressionSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/NormalMixtureApproximation.cpp -o Models/Glm/PosteriorSamplers/NormalMixtureApproximation.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/OrdinalLogitImputer.cpp -o Models/Glm/PosteriorSamplers/OrdinalLogitImputer.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/OrdinalLogitPosteriorSampler.cpp -o Models/Glm/PosteriorSamplers/OrdinalLogitPosteriorSampler.o
Models/Glm/PosteriorSamplers/NormalMixtureApproximation.cpp: In member function ‘double BOOM::NormalMixtureApproximation::logp(double) const’:
Models/Glm/PosteriorSamplers/NormalMixtureApproximation.cpp:274:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
274 | for (int s = 0; s < mu_.size(); ++s) {
| ~~^~~~~~~~~~~~
Models/Glm/PosteriorSamplers/NormalMixtureApproximation.cpp: In member function ‘void BOOM::NormalMixtureApproximation::check_sizes()’:
Models/Glm/PosteriorSamplers/NormalMixtureApproximation.cpp:327:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
327 | if (sigma_.size() != n || weights_.size() != n ||
| ~~~~~~~~~~~~~~^~~~
Models/Glm/PosteriorSamplers/NormalMixtureApproximation.cpp:327:47: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
327 | if (sigma_.size() != n || weights_.size() != n ||
| ~~~~~~~~~~~~~~~~^~~~
Models/Glm/PosteriorSamplers/NormalMixtureApproximation.cpp:328:29: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
328 | log_weights_.size() != n) {
| ~~~~~~~~~~~~~~~~~~~~^~~~
In file included from Models/Glm/PosteriorSamplers/NormalMixtureApproximation.cpp:28:
../inst/include/cpputil/index_table.hpp: In instantiation of ‘std::vector<int> BOOM::index_table(const std::vector<_RealType>&) [with OBJ = double]’:
Models/Glm/PosteriorSamplers/NormalMixtureApproximation.cpp:265:26: required from here
265 | set_order(index_table(mu_));
| ~~~~~~~~~~~^~~~~
../inst/include/cpputil/index_table.hpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | for (int i = 0; i < v.size(); ++i) ans[i] = i;
| ~~^~~~~~~~~~
Models/Glm/PosteriorSamplers/OrdinalLogitPosteriorSampler.cpp: In constructor ‘BOOM::OrdinalLogitPosteriorSampler::OrdinalLogitPosteriorSampler(BOOM::OrdinalLogitModel*, const BOOM::Ptr<BOOM::MvnBase>&, const BOOM::Ptr<BOOM::VectorModel>&, BOOM::RNG&)’:
Models/Glm/PosteriorSamplers/OrdinalLogitPosteriorSampler.cpp:38:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
38 | for (int i = 0; i < model_->cutpoint_vector().size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/OrdinalLogitPosteriorSampler.cpp: In member function ‘void BOOM::OrdinalLogitPosteriorSampler::impute_latent_data()’:
Models/Glm/PosteriorSamplers/OrdinalLogitPosteriorSampler.cpp:69:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::OrdinalData> >, std::allocator<BOOM::Ptr<BOOM::GlmData<BOOM::OrdinalData> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
69 | for (int i = 0; i < model_->dat().size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/OrdinalLogitPosteriorSampler.cpp: In member function ‘void BOOM::OrdinalLogitPosteriorSampler::draw_cutpoints()’:
Models/Glm/PosteriorSamplers/OrdinalLogitPosteriorSampler.cpp:87:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
87 | for (int i = 0; i < model_->cutpoint_vector().size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/OrdinalLogitPosteriorSampler.cpp:94:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
94 | if (i + 1 < model_->cutpoint_vector().size()) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/PartRegSampler.cpp -o Models/Glm/PosteriorSamplers/PartRegSampler.o
Models/Glm/PosteriorSamplers/PartRegSampler.cpp: In function ‘std::vector<std::pair<BOOM::Selector, double> >& BOOM::fix_probs(std::vector<std::pair<Selector, double> >&)’:
Models/Glm/PosteriorSamplers/PartRegSampler.cpp:109:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<std::pair<BOOM::Selector, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
109 | for (uint i = 0; i < ans.size(); ++i) prob[i] = ans[i].second;
| ~~^~~~~~~~~~~~
Models/Glm/PosteriorSamplers/PartRegSampler.cpp:111:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<std::pair<BOOM::Selector, double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
111 | for (uint i = 0; i < ans.size(); ++i) ans[i].second = prob[i];
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/PoissonDataImputer.cpp -o Models/Glm/PosteriorSamplers/PoissonDataImputer.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/PoissonRegressionAuxMixSampler.cpp -o Models/Glm/PosteriorSamplers/PoissonRegressionAuxMixSampler.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/PoissonRegressionAuxMixSampler.hpp:30,
from Models/Glm/PosteriorSamplers/PoissonRegressionAuxMixSampler.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In instantiation of ‘void BOOM::assign_data_to_workers(const std::vector<Ptr<Y> >&, std::vector<Ptr<P2> >&) [with OBSERVED_DATA = PoissonRegressionData; WORKER = PoissonRegressionDataImputer]’:
Models/Glm/PosteriorSamplers/PoissonRegressionAuxMixSampler.cpp:161:33: required from here
161 | BOOM::assign_data_to_workers(model_->dat(), workers());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:360:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
360 | for (int i = 0; i < nobs; ++i) {
| ~~^~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:364:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
364 | for (int i = nobs; i < number_of_workers; ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:368:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
368 | for (int i = 0; i < number_of_workers; ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:370:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
370 | if (e > end || (i + 1) == number_of_workers) e = end;
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/PoissonRegressionRwmSampler.cpp -o Models/Glm/PosteriorSamplers/PoissonRegressionRwmSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/PoissonRegressionSpikeSlabSampler.cpp -o Models/Glm/PosteriorSamplers/PoissonRegressionSpikeSlabSampler.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/PoissonRegressionAuxMixSampler.hpp:30,
from ../inst/include/Models/Glm/PosteriorSamplers/PoissonRegressionSpikeSlabSampler.hpp:24,
from Models/Glm/PosteriorSamplers/PoissonRegressionSpikeSlabSampler.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/ProbitRegressionSampler.cpp -o Models/Glm/PosteriorSamplers/ProbitRegressionSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/ProbitSpikeSlabSampler.cpp -o Models/Glm/PosteriorSamplers/ProbitSpikeSlabSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/QuantileRegressionPosteriorSampler.cpp -o Models/Glm/PosteriorSamplers/QuantileRegressionPosteriorSampler.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/QuantileRegressionPosteriorSampler.hpp:28,
from Models/Glm/PosteriorSamplers/QuantileRegressionPosteriorSampler.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In instantiation of ‘void BOOM::assign_data_to_workers(const std::vector<Ptr<Y> >&, std::vector<Ptr<SER> >&) [with OBSERVED_DATA = GlmData<UnivData<double> >; WORKER = QuantileRegressionImputeWorker]’:
Models/Glm/PosteriorSamplers/QuantileRegressionPosteriorSampler.cpp:73:33: required from here
73 | BOOM::assign_data_to_workers(model_->dat(), workers());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:360:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
360 | for (int i = 0; i < nobs; ++i) {
| ~~^~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:364:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
364 | for (int i = nobs; i < number_of_workers; ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:368:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
368 | for (int i = 0; i < number_of_workers; ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp:370:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
370 | if (e > end || (i + 1) == number_of_workers) e = end;
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/RegressionCoefficientSampler.cpp -o Models/Glm/PosteriorSamplers/RegressionCoefficientSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/RegressionConjSampler.cpp -o Models/Glm/PosteriorSamplers/RegressionConjSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/RegressionSemiconjugateSampler.cpp -o Models/Glm/PosteriorSamplers/RegressionSemiconjugateSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp -o Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.hpp:23,
from Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp:20:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.hpp:24:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp: In member function ‘void BOOM::RegressionShrinkageSampler::CoefficientGroup::refresh_sufficient_statistics(const BOOM::Vector&)’:
Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp:36:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
36 | for (int i = 0; i < indices_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp: In member function ‘void BOOM::RegressionShrinkageSampler::draw_hyperparameters()’:
Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp:73:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::RegressionShrinkageSampler::CoefficientGroup>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
73 | for (int g = 0; g < groups_.size(); ++g) {
| ~~^~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp: In member function ‘virtual double BOOM::RegressionShrinkageSampler::logpri() const’:
Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp:89:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::RegressionShrinkageSampler::CoefficientGroup>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | for (int g = 0; g < groups_.size(); ++g) {
| ~~^~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp:91:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
91 | for (int i = 0; i < indices.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp: In member function ‘BOOM::Vector BOOM::RegressionShrinkageSampler::prior_mean() const’:
Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp:101:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::RegressionShrinkageSampler::CoefficientGroup>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
101 | for (int g = 0; g < groups_.size(); ++g) {
| ~~^~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp:104:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
104 | for (int i = 0; i < indices.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp: In member function ‘BOOM::Vector BOOM::RegressionShrinkageSampler::prior_precision_diagonal() const’:
Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp:113:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::RegressionShrinkageSampler::CoefficientGroup>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
113 | for (int g = 0; g < groups_.size(); ++g) {
| ~~^~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.cpp:116:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
116 | for (int i = 0; i < indices.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.cpp -o Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.hpp:23,
from Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.cpp:19:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/IndependentMvnModel.hpp:24,
from ../inst/include/Models/IndependentMvnModelGivenScalarSigma.hpp:23,
from ../inst/include/Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.hpp:27:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.cpp: In constructor ‘BOOM::SpikeSlabDaRegressionSampler::SpikeSlabDaRegressionSampler(BOOM::RegressionModel*, const BOOM::Ptr<BOOM::IndependentMvnModelGivenScalarSigma>&, const BOOM::Ptr<BOOM::GammaModelBase>&, const BOOM::Vector&, double, double, BOOM::RNG&)’:
Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.cpp:55:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
55 | for (int i = 0; i < log_prior_inclusion_probabilities_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.cpp: In member function ‘virtual double BOOM::SpikeSlabDaRegressionSampler::logpri() const’:
Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.cpp:85:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
85 | for (int i = 0; i < log_prior_inclusion_probabilities_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.cpp: In member function ‘void BOOM::SpikeSlabDaRegressionSampler::impute_latent_data()’:
Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.cpp:137:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
137 | for (int i = 0; i < missing_y_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.cpp: In member function ‘void BOOM::SpikeSlabDaRegressionSampler::compute_leverage_of_missing_design_points()’:
Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.cpp:370:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
370 | for (int i = 0; i < missing_leverage_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/SpikeSlabSampler.cpp -o Models/Glm/PosteriorSamplers/SpikeSlabSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/TDataImputer.cpp -o Models/Glm/PosteriorSamplers/TDataImputer.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/TRegressionSampler.cpp -o Models/Glm/PosteriorSamplers/TRegressionSampler.o
Models/Glm/PosteriorSamplers/TRegressionSampler.cpp: In member function ‘void BOOM::TRegressionSampler::impute_latent_data()’:
Models/Glm/PosteriorSamplers/TRegressionSampler.cpp:129:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
129 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/TRegressionSpikeSlabSampler.cpp -o Models/Glm/PosteriorSamplers/TRegressionSpikeSlabSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/VsPriorSampler.cpp -o Models/Glm/PosteriorSamplers/VsPriorSampler.o
Models/Glm/PosteriorSamplers/VsPriorSampler.cpp: In constructor ‘BOOM::VsPriorSampler::VsPriorSampler(BOOM::StructuredVariableSelectionPrior*, const std::vector<BOOM::Ptr<BOOM::BetaModel> >&, BOOM::RNG&)’:
Models/Glm/PosteriorSamplers/VsPriorSampler.cpp:112:21: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::BetaModel> >::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
112 | if (Beta.size() != n) {
| ~~~~~~~~~~~~^~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/ZeroInflatedLognormalRegressionPosteriorSampler.cpp -o Models/Glm/PosteriorSamplers/ZeroInflatedLognormalRegressionPosteriorSampler.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.hpp:23,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.hpp:23,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitCompositeSpikeSlabSampler.hpp:22,
from ../inst/include/Models/Glm/PosteriorSamplers/ZeroInflatedLognormalRegressionPosteriorSampler.hpp:26,
from Models/Glm/PosteriorSamplers/ZeroInflatedLognormalRegressionPosteriorSampler.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/ZeroInflatedLognormalRegressionPosteriorSampler.cpp: In member function ‘void BOOM::ZeroInflatedLognormalRegressionPosteriorSampler::ensure_latent_data()’:
Models/Glm/PosteriorSamplers/ZeroInflatedLognormalRegressionPosteriorSampler.cpp:98:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
98 | for (int i = 0; i < model_->dat().size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.cpp -o Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.hpp:23,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.hpp:23,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitCompositeSpikeSlabSampler.hpp:22,
from ../inst/include/Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.hpp:24,
from Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.cpp: In member function ‘double BOOM::ZeroInflatedPoissonRegressionSampler::compute_convergence_criterion(const BOOM::Vector&, const BOOM::Vector&) const’:
Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.cpp:106:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (int i = 0; i < new_logit_coefficients.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.cpp: In member function ‘void BOOM::ZeroInflatedPoissonRegressionSampler::impute_forced_zeros(bool)’:
Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.cpp:135:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroInflatedPoissonRegressionData>, std::allocator<BOOM::Ptr<BOOM::ZeroInflatedPoissonRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
135 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.cpp: In member function ‘void BOOM::ZeroInflatedPoissonRegressionSampler::ensure_latent_data()’:
Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.cpp:197:32: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::PoissonRegressionData>, std::allocator<BOOM::Ptr<BOOM::PoissonRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
197 | if (number_of_observations != poisson_->dat().size() ||
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.cpp:198:32: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
198 | number_of_observations != logit_->dat().size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.cpp: In member function ‘void BOOM::ZeroInflatedPoissonRegressionSampler::refresh_latent_data()’:
Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.cpp:226:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroInflatedPoissonRegressionData>, std::allocator<BOOM::Ptr<BOOM::ZeroInflatedPoissonRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
226 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/draw_logit_lambda.cpp -o Models/Glm/PosteriorSamplers/draw_logit_lambda.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_1.cpp -o Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_1.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_2.cpp -o Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_2.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_3.cpp -o Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_3.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Glm/PosteriorSamplers/poisson_mixture_approximation_table.cpp -o Models/Glm/PosteriorSamplers/poisson_mixture_approximation_table.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Hierarchical/HierarchicalDirichletModel.cpp -o Models/Hierarchical/HierarchicalDirichletModel.o
In file included from ../inst/include/Models/Hierarchical/HierarchicalDirichletModel.hpp:24,
from Models/Hierarchical/HierarchicalDirichletModel.cpp:20:
../inst/include/Models/Hierarchical/HierarchicalModel.hpp: In instantiation of ‘BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>::HierarchicalModelBase(const BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>&) [with DATA_MODEL_TYPE = BOOM::MultinomialModel; PRIOR_TYPE = BOOM::DirichletModel]’:
../inst/include/Models/Hierarchical/HierarchicalDirichletModel.hpp:49:9: required from here
49 | class HierarchicalDirichletModel
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:53:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MultinomialModel>, std::allocator<BOOM::Ptr<BOOM::MultinomialModel> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
53 | for (int i = 0; i < rhs.data_level_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Hierarchical/HierarchicalModel.hpp: In instantiation of ‘void BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>::initialize_model_structure() [with DATA_MODEL_TYPE = BOOM::MultinomialModel; PRIOR_TYPE = BOOM::DirichletModel]’:
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:44:7: required from ‘BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>::HierarchicalModelBase(const BOOM::Ptr<SER>&) [with DATA_MODEL_TYPE = BOOM::MultinomialModel; PRIOR_TYPE = BOOM::DirichletModel]’
44 | initialize_model_structure();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Hierarchical/HierarchicalDirichletModel.cpp:39:64: required from here
39 | : HierarchicalBase(new DirichletModel(sample_size * mean)) {
| ^
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:112:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MultinomialModel>, std::allocator<BOOM::Ptr<BOOM::MultinomialModel> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
112 | for (int i = 0; i < data_level_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Hierarchical/HierarchicalModel.hpp: In instantiation of ‘void BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>::clear_methods() [with DATA_MODEL_TYPE = BOOM::MultinomialModel; PRIOR_TYPE = BOOM::DirichletModel]’:
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:81:10: required from here
81 | void clear_methods() override {
| ^~~~~~~~~~~~~
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:83:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MultinomialModel>, std::allocator<BOOM::Ptr<BOOM::MultinomialModel> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (int i = 0; i < data_level_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Hierarchical/HierarchicalGammaModel.cpp -o Models/Hierarchical/HierarchicalGammaModel.o
Models/Hierarchical/HierarchicalGammaModel.cpp: In constructor ‘BOOM::HierarchicalGammaModel::HierarchicalGammaModel(const std::vector<int>&, const std::vector<double>&, const std::vector<double>&)’:
Models/Hierarchical/HierarchicalGammaModel.cpp:32:47: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
32 | if ((sum_of_observations_per_group.size() != n) ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
Models/Hierarchical/HierarchicalGammaModel.cpp:33:51: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
33 | (sum_of_log_observations_per_group.size() != n)) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
Models/Hierarchical/HierarchicalGammaModel.cpp: In copy constructor ‘BOOM::HierarchicalGammaModel::HierarchicalGammaModel(const BOOM::HierarchicalGammaModel&)’:
Models/Hierarchical/HierarchicalGammaModel.cpp:57:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GammaModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
57 | for (int i = 0; i < rhs.data_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/Hierarchical/HierarchicalGammaModel.cpp: In member function ‘virtual void BOOM::HierarchicalGammaModel::clear_methods()’:
Models/Hierarchical/HierarchicalGammaModel.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GammaModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
70 | for (int i = 0; i < data_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Hierarchical/HierarchicalGaussianRegressionModel.cpp -o Models/Hierarchical/HierarchicalGaussianRegressionModel.o
Models/Hierarchical/HierarchicalGaussianRegressionModel.cpp: In member function ‘void BOOM::HierarchicalGaussianRegressionModel::clear_data_keep_models()’:
Models/Hierarchical/HierarchicalGaussianRegressionModel.cpp:83:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::RegressionModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (int i = 0; i < groups_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/Hierarchical/HierarchicalGaussianRegressionModel.cpp: In member function ‘virtual void BOOM::HierarchicalGaussianRegressionModel::combine_data(const BOOM::Model&, bool)’:
Models/Hierarchical/HierarchicalGaussianRegressionModel.cpp:97:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::RegressionModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
97 | for (int i = 0; i < other_model->groups_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Hierarchical/HierarchicalPoissonModel.cpp -o Models/Hierarchical/HierarchicalPoissonModel.o
In file included from ../inst/include/Models/Hierarchical/HierarchicalPoissonModel.hpp:24,
from Models/Hierarchical/HierarchicalPoissonModel.cpp:20:
../inst/include/Models/Hierarchical/HierarchicalModel.hpp: In instantiation of ‘BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>::HierarchicalModelBase(const BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>&) [with DATA_MODEL_TYPE = BOOM::PoissonModel; PRIOR_TYPE = BOOM::GammaModel]’:
../inst/include/Models/Hierarchical/HierarchicalPoissonModel.hpp:47:9: required from here
47 | class HierarchicalPoissonModel
| ^~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:53:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonModel>, std::allocator<BOOM::Ptr<BOOM::PoissonModel> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
53 | for (int i = 0; i < rhs.data_level_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Hierarchical/HierarchicalModel.hpp: In instantiation of ‘void BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>::initialize_model_structure() [with DATA_MODEL_TYPE = BOOM::PoissonModel; PRIOR_TYPE = BOOM::GammaModel]’:
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:44:7: required from ‘BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>::HierarchicalModelBase(const BOOM::Ptr<P2>&) [with DATA_MODEL_TYPE = BOOM::PoissonModel; PRIOR_TYPE = BOOM::GammaModel]’
44 | initialize_model_structure();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Hierarchical/HierarchicalPoissonModel.cpp:40:76: required from here
40 | new GammaModel(lambda_prior_sample_size, lambda_prior_guess, 0)) {}
| ^
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:112:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonModel>, std::allocator<BOOM::Ptr<BOOM::PoissonModel> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
112 | for (int i = 0; i < data_level_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Hierarchical/HierarchicalModel.hpp: In instantiation of ‘void BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>::clear_methods() [with DATA_MODEL_TYPE = BOOM::PoissonModel; PRIOR_TYPE = BOOM::GammaModel]’:
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:81:10: required from here
81 | void clear_methods() override {
| ^~~~~~~~~~~~~
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:83:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonModel>, std::allocator<BOOM::Ptr<BOOM::PoissonModel> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (int i = 0; i < data_level_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Hierarchical/HierarchicalZeroInflatedGammaModel.cpp -o Models/Hierarchical/HierarchicalZeroInflatedGammaModel.o
Models/Hierarchical/HierarchicalZeroInflatedGammaModel.cpp: In constructor ‘BOOM::HierarchicalZeroInflatedGammaModel::HierarchicalZeroInflatedGammaModel(const BOOM::Vector&, const BOOM::Vector&, const BOOM::Vector&, const BOOM::Vector&, BOOM::RNG&)’:
Models/Hierarchical/HierarchicalZeroInflatedGammaModel.cpp:73:46: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
73 | if (number_of_positives_per_group.size() != number_of_groups ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Models/Hierarchical/HierarchicalZeroInflatedGammaModel.cpp:74:55: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
74 | sum_of_positive_observations_per_group.size() != number_of_groups ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Models/Hierarchical/HierarchicalZeroInflatedGammaModel.cpp:75:53: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
75 | sum_of_logs_of_positive_observations.size() != number_of_groups) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Models/Hierarchical/HierarchicalZeroInflatedGammaModel.cpp: In copy constructor ‘BOOM::HierarchicalZeroInflatedGammaModel::HierarchicalZeroInflatedGammaModel(const BOOM::{anonymous}::HZIGM&)’:
Models/Hierarchical/HierarchicalZeroInflatedGammaModel.cpp:105:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroInflatedGammaModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
105 | for (int i = 0; i < rhs.data_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/Hierarchical/HierarchicalZeroInflatedGammaModel.cpp: In member function ‘virtual void BOOM::HierarchicalZeroInflatedGammaModel::combine_data(const BOOM::Model&, bool)’:
Models/Hierarchical/HierarchicalZeroInflatedGammaModel.cpp:138:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroInflatedGammaModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
138 | for (int i = 0; i < that.data_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Hierarchical/HierarchicalZeroInflatedGammaModel.cpp: In member function ‘void BOOM::HierarchicalZeroInflatedGammaModel::setup()’:
Models/Hierarchical/HierarchicalZeroInflatedGammaModel.cpp:235:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroInflatedGammaModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
235 | for (int i = 0; i < data_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Hierarchical/HierarchicalZeroInflatedPoissonModel.cpp -o Models/Hierarchical/HierarchicalZeroInflatedPoissonModel.o
Models/Hierarchical/HierarchicalZeroInflatedPoissonModel.cpp: In copy constructor ‘BOOM::HierarchicalZeroInflatedPoissonModel::HierarchicalZeroInflatedPoissonModel(const BOOM::HierarchicalZeroInflatedPoissonModel&)’:
Models/Hierarchical/HierarchicalZeroInflatedPoissonModel.cpp:104:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroInflatedPoissonModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
104 | for (int i = 0; i < rhs.data_level_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Hierarchical/HierarchicalZeroInflatedPoissonModel.cpp: In member function ‘void BOOM::HierarchicalZeroInflatedPoissonModel::clear_client_data()’:
Models/Hierarchical/HierarchicalZeroInflatedPoissonModel.cpp:125:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroInflatedPoissonModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
125 | for (int i = 0; i < data_level_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Hierarchical/HierarchicalZeroInflatedPoissonModel.cpp: In member function ‘virtual void BOOM::HierarchicalZeroInflatedPoissonModel::clear_methods()’:
Models/Hierarchical/HierarchicalZeroInflatedPoissonModel.cpp:133:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroInflatedPoissonModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
133 | for (int i = 0; i < data_level_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Hierarchical/PosteriorSamplers/HierGaussianRegressionAsisSampler.cpp -o Models/Hierarchical/PosteriorSamplers/HierGaussianRegressionAsisSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Hierarchical/PosteriorSamplers/HierarchicalDirichletPosteriorSampler.cpp -o Models/Hierarchical/PosteriorSamplers/HierarchicalDirichletPosteriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Hierarchical/PosteriorSamplers/HierarchicalGammaSampler.cpp -o Models/Hierarchical/PosteriorSamplers/HierarchicalGammaSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Hierarchical/PosteriorSamplers/HierarchicalGaussianRegressionSampler.cpp -o Models/Hierarchical/PosteriorSamplers/HierarchicalGaussianRegressionSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Hierarchical/PosteriorSamplers/HierarchicalPoissonSampler.cpp -o Models/Hierarchical/PosteriorSamplers/HierarchicalPoissonSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Hierarchical/PosteriorSamplers/HierarchicalZeroInflatedGammaSampler.cpp -o Models/Hierarchical/PosteriorSamplers/HierarchicalZeroInflatedGammaSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Hierarchical/PosteriorSamplers/HierarchicalZeroInflatedPoissonSampler.cpp -o Models/Hierarchical/PosteriorSamplers/HierarchicalZeroInflatedPoissonSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/HMM/GeneralHmmStateSpaceWrapper.cpp -o Models/HMM/GeneralHmmStateSpaceWrapper.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/HMM/GeneralHmmStateSpaceWrapper.hpp:22,
from Models/HMM/GeneralHmmStateSpaceWrapper.cpp:19:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/HMM/HMM2.cpp -o Models/HMM/HMM2.o
In file included from ../inst/include/Models/HMM/HMM2.hpp:27,
from Models/HMM/HMM2.cpp:20:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
In file included from ../inst/include/Models/HMM/HMM2.hpp:31:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/HMM/HMM2.cpp: In copy constructor ‘BOOM::HMM_EM::HMM_EM(const BOOM::HMM_EM&)’:
Models/HMM/HMM2.cpp:193:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::EmMixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
193 | for (uint i = 0; i < mix_.size(); ++i) mix_[i] = rhs.mix_[i]->clone();
| ~~^~~~~~~~~~~~~
In file included from ../inst/include/Models/HMM/HMM2.hpp:28:
../inst/include/Models/Policies/CompositeParamPolicy.hpp: In instantiation of ‘void BOOM::CompositeParamPolicy::set_models(Fwd, Fwd) [with Fwd = __gnu_cxx::__normal_iterator<BOOM::Ptr<BOOM::MixtureComponent>*, std::vector<BOOM::Ptr<BOOM::MixtureComponent> > >]’:
Models/HMM/HMM2.cpp:52:28: required from here
52 | ParamPolicy::set_models(mix_.begin(), mix_.end());
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/CompositeParamPolicy.hpp:74:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::Model> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
74 | for (uint i = 0; i < models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
../inst/include/Models/Policies/CompositeParamPolicy.hpp: In instantiation of ‘void BOOM::CompositeParamPolicy::set_models(Fwd, Fwd) [with Fwd = __gnu_cxx::__normal_iterator<BOOM::Ptr<BOOM::EmMixtureComponent>*, std::vector<BOOM::Ptr<BOOM::EmMixtureComponent> > >]’:
../inst/include/Models/HMM/HMM2.hpp:65:30: required from ‘void BOOM::HiddenMarkovModel::set_mixture_components(Fwd, Fwd) [with Fwd = __gnu_cxx::__normal_iterator<BOOM::Ptr<BOOM::EmMixtureComponent>*, std::vector<BOOM::Ptr<BOOM::EmMixtureComponent> > >]’
65 | ParamPolicy::set_models(b, e);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
Models/HMM/HMM2.cpp:194:27: required from here
194 | set_mixture_components(mix_.begin(), mix_.end());
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/CompositeParamPolicy.hpp:74:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::Model> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
74 | for (uint i = 0; i < models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/HMM/HealthStateModel.cpp -o Models/HMM/HealthStateModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/HMM/HmmDataImputer.cpp -o Models/HMM/HmmDataImputer.o
In file included from ../inst/include/Models/HMM/HealthStateModel.hpp:24,
from Models/HMM/HealthStateModel.cpp:20:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
Models/HMM/HealthStateModel.cpp: In member function ‘void BOOM::HealthStateModel::initialize_param_policy()’:
Models/HMM/HealthStateModel.cpp:60:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
60 | for (int i = 0; i < mix_.size(); ++i) ParamPolicy::add_model(mix_[i]);
| ~~^~~~~~~~~~~~~
Models/HMM/HealthStateModel.cpp:61:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MarkovModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
61 | for (int i = 0; i < mark_.size(); ++i) ParamPolicy::add_model(mark_[i]);
| ~~^~~~~~~~~~~~~~
Models/HMM/HealthStateModel.cpp: In copy constructor ‘BOOM::HealthStateModel::HealthStateModel(const BOOM::HealthStateModel&)’:
Models/HMM/HealthStateModel.cpp:77:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
77 | for (int i = 0; i < rhs.mix_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/HMM/HealthStateModel.cpp:82:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MarkovModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
82 | for (int i = 0; i < rhs.mark_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/HMM/HMM2.hpp:27,
from ../inst/include/Models/HMM/HmmDataImputer.hpp:23,
from Models/HMM/HmmDataImputer.cpp:20:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
In file included from ../inst/include/Models/HMM/HMM2.hpp:31:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/HMM/HmmFilter.cpp -o Models/HMM/HmmFilter.o
In file included from ../inst/include/Models/HMM/HmmFilter.hpp:24,
from Models/HMM/HmmFilter.cpp:20:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
Models/HMM/HmmFilter.cpp: In member function ‘double BOOM::HmmFilter::fwd(const std::vector<BOOM::Ptr<BOOM::Data> >&)’:
Models/HMM/HmmFilter.cpp:83:21: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
83 | if (logp.size() != S) logp.resize(S);
| ~~~~~~~~~~~~^~~~
Models/HMM/HmmFilter.cpp:84:18: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
84 | if (P.size() < n) P.resize(n);
| ~~~~~~~~~^~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/HMM/hmm_tools.cpp -o Models/HMM/hmm_tools.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/HMM/Clickstream/Event.cpp -o Models/HMM/Clickstream/Event.o
In file included from ../inst/include/Models/HMM/Clickstream/Event.hpp:23,
from Models/HMM/Clickstream/Event.cpp:20:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/HMM/Clickstream/NestedHmm.cpp -o Models/HMM/Clickstream/NestedHmm.o
In file included from ../inst/include/Models/HMM/Clickstream/NestedHmm.hpp:25,
from Models/HMM/Clickstream/NestedHmm.cpp:19:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
In file included from Models/HMM/Clickstream/NestedHmm.cpp:27:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/HMM/Clickstream/NestedHmm.cpp: In member function ‘void BOOM::NestedHmm::pass_params_to_workers()’:
Models/HMM/Clickstream/NestedHmm.cpp:588:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::NestedHmm> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
588 | for (int i = 0; i < workers_.size(); ++i)
| ~~^~~~~~~~~~~~~~~~~
Models/HMM/Clickstream/NestedHmm.cpp: In member function ‘void BOOM::NestedHmm::start_thread_imputation()’:
Models/HMM/Clickstream/NestedHmm.cpp:596:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::NestedHmm> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
596 | for (int i = 0; i < workers_.size(); ++i){
| ~~^~~~~~~~~~~~~~~~~
Models/HMM/Clickstream/NestedHmm.cpp:600:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::NestedHmm> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
600 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/HMM/Clickstream/NestedHmm.cpp: In member function ‘void BOOM::NestedHmm::start_thread_em()’:
Models/HMM/Clickstream/NestedHmm.cpp:621:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::NestedHmm> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
621 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/HMM/Clickstream/NestedHmm.cpp:625:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::NestedHmm> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
625 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/HMM/Clickstream/NestedHmm.cpp: In member function ‘double BOOM::NestedHmm::collect_threads()’:
Models/HMM/Clickstream/NestedHmm.cpp:632:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::NestedHmm> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
632 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/HMM/Clickstream/NestedHmm.cpp: In member function ‘void BOOM::NestedHmm::check_filter_size(int) const’:
Models/HMM/Clickstream/NestedHmm.cpp:698:18: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
698 | if (P.size() < nevents) P.resize(nevents);
| ~~~~~~~~~^~~~~~~~~
Models/HMM/Clickstream/NestedHmm.cpp: In member function ‘void BOOM::NestedHmm::fill_big_Q() const’:
Models/HMM/Clickstream/NestedHmm.cpp:735:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
735 | if (logpi0_.size() != S) logpi0_.resize(S);
| ~~~~~~~~~~~~~~~^~~~
Models/HMM/Clickstream/NestedHmm.cpp:736:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
736 | if (logd_.size() != S) logd_.resize(S);
| ~~~~~~~~~~~~~^~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/HMM/Clickstream/Session.cpp -o Models/HMM/Clickstream/Session.o
In file included from ../inst/include/Models/HMM/Clickstream/Event.hpp:23,
from ../inst/include/Models/HMM/Clickstream/Session.hpp:23,
from Models/HMM/Clickstream/Session.cpp:20:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/HMM/Clickstream/Stream.cpp -o Models/HMM/Clickstream/Stream.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/HMM/Clickstream/PosteriorSamplers/NestedHmmPosteriorSampler.cpp -o Models/HMM/Clickstream/PosteriorSamplers/NestedHmmPosteriorSampler.o
In file included from ../inst/include/Models/HMM/Clickstream/Event.hpp:23,
from ../inst/include/Models/HMM/Clickstream/Session.hpp:23,
from ../inst/include/Models/HMM/Clickstream/Stream.hpp:22,
from Models/HMM/Clickstream/Stream.cpp:20:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
In file included from ../inst/include/Models/HMM/Clickstream/NestedHmm.hpp:25,
from ../inst/include/Models/HMM/Clickstream/PosteriorSamplers/NestedHmmPosteriorSampler.hpp:23,
from Models/HMM/Clickstream/PosteriorSamplers/NestedHmmPosteriorSampler.cpp:20:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/HMM/PosteriorSamplers/HmmPosteriorSampler.cpp -o Models/HMM/PosteriorSamplers/HmmPosteriorSampler.o
In file included from ../inst/include/Models/HMM/HMM2.hpp:27,
from ../inst/include/Models/HMM/PosteriorSamplers/HmmPosteriorSampler.hpp:23,
from Models/HMM/PosteriorSamplers/HmmPosteriorSampler.cpp:20:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
In file included from ../inst/include/Models/HMM/HMM2.hpp:31:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/HMM/PosteriorSamplers/HmmPosteriorSampler.cpp: In member function ‘void BOOM::HmmPosteriorSampler::draw_mixture_components()’:
Models/HMM/PosteriorSamplers/HmmPosteriorSampler.cpp:60:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::MixtureComponentSampler>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
60 | if (workers_.size() != S) {
| ~~~~~~~~~~~~~~~~^~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/HMM/PosteriorSamplers/LiuWestParticleFilter.cpp -o Models/HMM/PosteriorSamplers/LiuWestParticleFilter.o
Models/HMM/PosteriorSamplers/LiuWestParticleFilter.cpp: In member function ‘void BOOM::LiuWestParticleFilter::set_particles(const BOOM::Matrix&, const BOOM::Matrix&)’:
Models/HMM/PosteriorSamplers/LiuWestParticleFilter.cpp:61:27: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
61 | if (parameters.ncol() != parameter_particles_[0].size()) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/HMM/PosteriorSamplers/LiuWestParticleFilter.cpp: In member function ‘BOOM::Matrix BOOM::LiuWestParticleFilter::to_matrix(const std::vector<BOOM::Vector>&) const’:
Models/HMM/PosteriorSamplers/LiuWestParticleFilter.cpp:207:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Vector>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
207 | for (int i = 0; i < vectors.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
In file included from Models/HMM/PosteriorSamplers/LiuWestParticleFilter.cpp:22:
../inst/include/stats/Resampler.hpp: In instantiation of ‘std::vector<_RealType> BOOM::Resampler::operator()(const std::vector<_RealType>&, int, BOOM::RNG&) const [with T = BOOM::Vector]’:
Models/HMM/PosteriorSamplers/LiuWestParticleFilter.cpp:180:33: required from here
180 | return to_matrix(resampler(parameter_particles_, -1, *rng));
| ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/stats/Resampler.hpp:100:31: warning: comparison of integer expressions of different signedness: ‘const long int’ and ‘std::vector<BOOM::Vector>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
100 | if (cdf.crbegin()->second >= things.size()) {
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/IRT/DafePcrDataImputer.cpp -o Models/IRT/DafePcrDataImputer.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/IRT/DafePcrItemSampler.cpp -o Models/IRT/DafePcrItemSampler.o
Models/IRT/DafePcrItemSampler.cpp: In member function ‘void BOOM::IRT::ItemDafeTF::logp_sub(const BOOM::Ptr<BOOM::IRT::Subject>&) const’:
Models/IRT/DafePcrItemSampler.cpp:78:26: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
78 | for (uint i = 0; i < u.size(); ++i) ans += dexv(u[i], eta[i], 1.0, true);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/IRT/DafePcrRwmItemSampler.cpp -o Models/IRT/DafePcrRwmItemSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/IRT/DafePcrRwmSubject.cpp -o Models/IRT/DafePcrRwmSubject.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/IRT/DafePcrSubject.cpp -o Models/IRT/DafePcrSubject.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/IRT/IRT.cpp -o Models/IRT/IRT.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/IRT/IrtModel.cpp -o Models/IRT/IrtModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/IRT/Item.cpp -o Models/IRT/Item.o
Models/IRT/IrtModel.cpp: In function ‘void BOOM::IRT::set_default_names(StringVector&)’:
Models/IRT/IrtModel.cpp:46:26: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
46 | for (uint i = 0; i < s.size(); ++i) {
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/IRT/PartialCreditModel.cpp -o Models/IRT/PartialCreditModel.o
Models/IRT/PartialCreditModel.cpp: In member function ‘void BOOM::IRT::PartialCreditModel::initialize_params()’:
Models/IRT/PartialCreditModel.cpp:293:26: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
293 | for (uint i = 1; i < h.size(); ++i) b[i] = log(h[i] / h[0]);
| ~~^~~~~~~~~~
Models/IRT/PartialCreditModel.cpp: In member function ‘void BOOM::IRT::PartialCreditModel::fill_abd() const’:
Models/IRT/PartialCreditModel.cpp:396:26: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
396 | for (uint m = 0; m < D.size(); ++m) {
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/IRT/Subject.cpp -o Models/IRT/Subject.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/IRT/SubjectPrior.cpp -o Models/IRT/SubjectPrior.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/IRT/SubjectSliceSampler.cpp -o Models/IRT/SubjectSliceSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/Array.cpp -o LinAlg/Array.o
LinAlg/Array.cpp: In member function ‘void BOOM::ConstArrayBase::compute_strides()’:
LinAlg/Array.cpp:44:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
44 | for (int i = 0; i < dims_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
LinAlg/Array.cpp: In function ‘int BOOM::{anonymous}::array_index(const std::vector<int>&, const std::vector<int>&, const std::vector<int>&)’:
LinAlg/Array.cpp:85:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
85 | for (int i = 0; i < dim.size(); ++i) {
| ~~^~~~~~~~~~~~
LinAlg/Array.cpp: In function ‘void BOOM::{anonymous}::check_slice_size(const std::vector<int>&, const std::vector<int>&)’:
LinAlg/Array.cpp:118:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
118 | for (int i = 0; i < index.size(); ++i) {
| ~~^~~~~~~~~~~~~~
LinAlg/Array.cpp:120:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
120 | if (i + 1 < index.size()) msg << ",";
| ~~~~~~^~~~~~~~~~~~~~
LinAlg/Array.cpp: In member function ‘int BOOM::ConstArrayBase::size() const’:
LinAlg/Array.cpp:245:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
245 | for (int i = 0; i < dims_.size(); ++i) ans *= dims_[i];
| ~~^~~~~~~~~~~~~~
LinAlg/Array.cpp: In member function ‘BOOM::ArrayView& BOOM::ArrayView::operator=(const BOOM::Vector&)’:
LinAlg/Array.cpp:585:33: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
585 | if (ndim() != 1 || a.size() != dim(0)) {
| ~~~~~~~~~^~~~~~~~~
LinAlg/Array.cpp: In constructor ‘BOOM::Array::Array(const std::vector<int>&, const std::vector<double>&)’:
LinAlg/Array.cpp:716:22: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
716 | if (data_.size() != size()) {
| ~~~~~~~~~~~~~^~~~~~~~~
LinAlg/Array.cpp:720:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
720 | for (int i = 0; i < dims.size(); ++i) {
| ~~^~~~~~~~~~~~~
LinAlg/Array.cpp: In constructor ‘BOOM::Array::Array(const std::vector<int>&, const double*)’:
LinAlg/Array.cpp:731:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
731 | for (int i = 0; i < dims.size(); ++i) {
| ~~^~~~~~~~~~~~~
LinAlg/Array.cpp: In static member function ‘static int BOOM::ConstArrayBase::product(const std::vector<int>&)’:
LinAlg/Array.cpp:830:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
830 | for (int i = 0; i < dims.size(); ++i) {
| ~~^~~~~~~~~~~~~
LinAlg/Array.cpp: In instantiation of ‘RETURN_TYPE BOOM::{anonymous}::template_slice_array(INPUT_TYPE, const std::vector<int>&, const std::vector<int>&, const std::vector<int>&) [with RETURN_TYPE = BOOM::ArrayView; INPUT_TYPE = double*]’:
LinAlg/Array.cpp:154:55: required from here
154 | return template_slice_array<ArrayView, double *>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
155 | host_data, index, host_dims, host_strides);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LinAlg/Array.cpp:135:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
135 | for (int i = 0; i < index.size(); ++i) {
| ~~^~~~~~~~~~~~~~
LinAlg/Array.cpp: In instantiation of ‘RETURN_TYPE BOOM::{anonymous}::template_slice_array(INPUT_TYPE, const std::vector<int>&, const std::vector<int>&, const std::vector<int>&) [with RETURN_TYPE = BOOM::ConstArrayView; INPUT_TYPE = const double*]’:
LinAlg/Array.cpp:162:66: required from here
162 | return template_slice_array<ConstArrayView, const double *>(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
163 | host_data, index, host_dims, host_strides);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LinAlg/Array.cpp:135:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
135 | for (int i = 0; i < index.size(); ++i) {
| ~~^~~~~~~~~~~~~~
LinAlg/Array.cpp: In instantiation of ‘bool BOOM::{anonymous}::vector_compare(const V&, const BOOM::ConstArrayBase&) [with V = BOOM::Vector]’:
LinAlg/Array.cpp:250:26: required from here
250 | return vector_compare(rhs, *this);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~
LinAlg/Array.cpp:103:37: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
103 | if ((array.ndim() != 1) || (n != v.size())) return false;
| ~~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/ArrayIterator.cpp -o LinAlg/ArrayIterator.o
LinAlg/ArrayIterator.cpp: In member function ‘void BOOM::ArrayPositionManager::operator++()’:
LinAlg/ArrayIterator.cpp:40:43: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
40 | for (int which_index = 0; which_index < dims_.size(); ++which_index) {
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
LinAlg/ArrayIterator.cpp: In member function ‘void BOOM::ArrayPositionManager::set_position(const std::vector<int>&)’:
LinAlg/ArrayIterator.cpp:98:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
98 | for (int i = 0; i < dims_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/Cholesky.cpp -o LinAlg/Cholesky.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/CorrelationMatrix.cpp -o LinAlg/CorrelationMatrix.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/DiagonalMatrix.cpp -o LinAlg/DiagonalMatrix.o
LinAlg/DiagonalMatrix.cpp: In instantiation of ‘void BOOM::{anonymous}::in_place_multiplication(const BOOM::Vector&, VECTOR&) [with VECTOR = BOOM::Vector]’:
LinAlg/DiagonalMatrix.cpp:199:28: required from here
199 | in_place_multiplication(diagonal_elements_, v);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
LinAlg/DiagonalMatrix.cpp:192:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
192 | for (int i = 0; i < v.size(); ++i) {
| ~~^~~~~~~~~~
LinAlg/DiagonalMatrix.cpp: In instantiation of ‘void BOOM::{anonymous}::in_place_multiplication(const BOOM::Vector&, VECTOR&) [with VECTOR = BOOM::VectorView]’:
LinAlg/DiagonalMatrix.cpp:203:28: required from here
203 | in_place_multiplication(diagonal_elements_, v);
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
LinAlg/DiagonalMatrix.cpp:189:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
189 | if (diag.size() != v.size()) {
| ~~~~~~~~~~~~^~~~~~~~~~~
LinAlg/DiagonalMatrix.cpp: In instantiation of ‘BOOM::Vector BOOM::{anonymous}::mult_impl(const BOOM::DiagonalMatrix&, const VECTOR&) [with VECTOR = BOOM::Vector]’:
LinAlg/DiagonalMatrix.cpp:207:21: required from here
207 | return mult_impl(*this, v);
| ~~~~~~~~~^~~~~~~~~~
LinAlg/DiagonalMatrix.cpp:175:20: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
175 | if (v.size() != mat.ncol()) {
| ~~~~~~~~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/Eigen.cpp -o LinAlg/Eigen.o
In file included from ../inst/include/Eigen/Core:337,
from ../inst/include/Eigen/Eigenvalues:11,
from LinAlg/Eigen.cpp:22:
../inst/include/Eigen/src/Core/products/SelfadjointMatrixVector.h: In function ‘static void Eigen::internal::selfadjoint_product_impl<Lhs, LhsMode, false, Rhs, 0, true>::run(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Block<Eigen::Matrix<double, -1, 1>, -1, 1, false>; Lhs = Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>; int LhsMode = 17; Rhs = Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, -1, 1> >, const Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, 1, true>, -1, 1, false> >]’:
../inst/include/Eigen/src/Core/products/SelfadjointMatrixVector.h:229:7: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
227 | internal::selfadjoint_matrix_vector_product<Scalar, Index, (internal::traits<ActualLhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228 | int(LhsUpLo), bool(LhsBlasTraits::NeedToConjugate), bool(RhsBlasTraits::NeedToConjugate)>::run
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
229 | (
| ^
230 | lhs.rows(), // size
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
231 | &lhs.coeffRef(0,0), lhs.outerStride(), // lhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
232 | actualRhsPtr, // rhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
233 | actualDestPtr, // result info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 | actualAlpha // scale factor
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235 | );
| ~
../inst/include/Eigen/src/Core/products/SelfadjointMatrixVector.h:41:6: note: by argument 4 of type ‘const double*’ to ‘static void Eigen::internal::selfadjoint_matrix_vector_product<Scalar, Index, StorageOrder, UpLo, ConjugateLhs, ConjugateRhs, Version>::run(Index, const Scalar*, Index, const Scalar*, Scalar*, Scalar) [with Scalar = double; Index = long int; int StorageOrder = 0; int UpLo = 1; bool ConjugateLhs = false; bool ConjugateRhs = false; int Version = 0]’ declared here
41 | void selfadjoint_matrix_vector_product<Scalar,Index,StorageOrder,UpLo,ConjugateLhs,ConjugateRhs,Version>::run(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Eigen/Core:341:
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h: In function ‘static void Eigen::internal::trmv_selector<Mode, 1>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, -1, false> >; Rhs = Eigen::Transpose<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, 1, true>, -1, 1, false> > > >; Dest = Eigen::Transpose<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, false> >; int Mode = 6]’:
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h:332:12: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
327 | internal::triangular_matrix_vector_product
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | <Index,Mode,
| ~~~~~~~~~~~~
329 | LhsScalar, LhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
330 | RhsScalar, RhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
331 | RowMajor>
| ~~~~~~~~~
332 | ::run(actualLhs.rows(),actualLhs.cols(),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | actualLhs.data(),actualLhs.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
334 | actualRhsPtr,1,
| ~~~~~~~~~~~~~~~
335 | dest.data(),dest.innerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
336 | actualAlpha);
| ~~~~~~~~~~~~
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h:105:24: note: by argument 5 of type ‘const double*’ to ‘static void Eigen::internal::triangular_matrix_vector_product<Index, Mode, LhsScalar, ConjLhs, RhsScalar, ConjRhs, 1, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, const ResScalar&) [with Index = long int; int Mode = 6; LhsScalar = double; bool ConjLhs = false; RhsScalar = double; bool ConjRhs = false; int Version = 0]’ declared here
105 | EIGEN_DONT_INLINE void triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,RowMajor,Version>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/Givens.cpp -o LinAlg/Givens.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/LU.cpp -o LinAlg/LU.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/Matrix.cpp -o LinAlg/Matrix.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/MatrixPartition.cpp -o LinAlg/MatrixPartition.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/QR.cpp -o LinAlg/QR.o
LinAlg/MatrixPartition.cpp: In constructor ‘BOOM::MatrixPartition::MatrixPartition(BOOM::Matrix*, const std::vector<int>&, const std::vector<int>&)’:
LinAlg/MatrixPartition.cpp:31:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
31 | for (int i = 1; i < row_sizes.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
LinAlg/MatrixPartition.cpp:36:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
36 | for (int j = 1; j < col_sizes.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~
LinAlg/Matrix.cpp: In constructor ‘BOOM::Matrix::Matrix(const std::string&, const std::string&)’:
LinAlg/Matrix.cpp:107:30: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
107 | } else if (v[i].size() != nc_) {
| ~~~~~~~~~~~~^~~~~~
LinAlg/Matrix.cpp: In constructor ‘BOOM::Matrix::Matrix(const std::initializer_list<std::initializer_list<double> >&)’:
LinAlg/Matrix.cpp:152:39: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
152 | if (row_vectors.back().size() != nc_) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~
LinAlg/Matrix.cpp:163:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
163 | for (size_t r = 0; r < nr_; ++r) {
| ~~^~~~~
LinAlg/Matrix.cpp: In member function ‘BOOM::Matrix& BOOM::Matrix::rbind(const BOOM::Vector&)’:
LinAlg/Matrix.cpp:350:25: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
350 | } else if (A.size() != ncol()) {
| ~~~~~~~~~^~~~~~~~~
LinAlg/Matrix.cpp:354:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
354 | for (int i = 0; i < A.size(); ++i) {
| ~~^~~~~~~~~~
LinAlg/Matrix.cpp: In member function ‘BOOM::Matrix& BOOM::Matrix::cbind(const BOOM::Vector&)’:
LinAlg/Matrix.cpp:380:18: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
380 | if (A.size() != nrow()) {
| ~~~~~~~~~^~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/SVD.cpp -o LinAlg/SVD.o
LinAlg/Matrix.cpp: In constructor ‘BOOM::LabeledMatrix::LabeledMatrix(const BOOM::Matrix&, const std::vector<std::__cxx11::basic_string<char> >&, const std::vector<std::__cxx11::basic_string<char> >&)’:
LinAlg/Matrix.cpp:1232:48: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1232 | if (!row_names.empty() && row_names.size() != m.nrow()) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
LinAlg/Matrix.cpp:1237:48: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1237 | if (!col_names.empty() && col_names.size() != m.ncol()) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~
LinAlg/Matrix.cpp: In member function ‘virtual std::ostream& BOOM::LabeledMatrix::display(std::ostream&, int) const’:
LinAlg/Matrix.cpp:1248:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1248 | for (int i = 0; i < row_names_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
LinAlg/Matrix.cpp:1257:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1257 | for (int i = 0; i < col_names_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
LinAlg/SVD.cpp: In member function ‘BOOM::Vector BOOM::SingularValueDecomposition::solve(const BOOM::Vector&, double) const’:
LinAlg/SVD.cpp:69:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
69 | for (uint i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/SWEEP.cpp -o LinAlg/SWEEP.o
In file included from ../inst/include/Eigen/Core:341,
from ../inst/include/Eigen/QR:11,
from ../inst/include/Eigen/SVD:11,
from LinAlg/SVD.cpp:21:
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h: In function ‘static void Eigen::internal::trmv_selector<Mode, 1>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, -1, false> >; Rhs = Eigen::Transpose<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, 1, true>, -1, 1, false> > > >; Dest = Eigen::Transpose<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, false> >; int Mode = 6]’:
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h:332:12: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
327 | internal::triangular_matrix_vector_product
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | <Index,Mode,
| ~~~~~~~~~~~~
329 | LhsScalar, LhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
330 | RhsScalar, RhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
331 | RowMajor>
| ~~~~~~~~~
332 | ::run(actualLhs.rows(),actualLhs.cols(),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | actualLhs.data(),actualLhs.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
334 | actualRhsPtr,1,
| ~~~~~~~~~~~~~~~
335 | dest.data(),dest.innerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
336 | actualAlpha);
| ~~~~~~~~~~~~
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h:105:24: note: by argument 5 of type ‘const double*’ to ‘static void Eigen::internal::triangular_matrix_vector_product<Index, Mode, LhsScalar, ConjLhs, RhsScalar, ConjRhs, 1, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, const ResScalar&) [with Index = long int; int Mode = 6; LhsScalar = double; bool ConjLhs = false; RhsScalar = double; bool ConjRhs = false; int Version = 0]’ declared here
105 | EIGEN_DONT_INLINE void triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,RowMajor,Version>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Eigen/Core:341,
from ../inst/include/Eigen/QR:11,
from LinAlg/QR.cpp:21:
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h: In function ‘static void Eigen::internal::trmv_selector<Mode, 1>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, -1, false> >; Rhs = Eigen::Transpose<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, 1, true>, -1, 1, false> > > >; Dest = Eigen::Transpose<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, false> >; int Mode = 6]’:
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h:332:12: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
327 | internal::triangular_matrix_vector_product
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | <Index,Mode,
| ~~~~~~~~~~~~
329 | LhsScalar, LhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
330 | RhsScalar, RhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
331 | RowMajor>
| ~~~~~~~~~
332 | ::run(actualLhs.rows(),actualLhs.cols(),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | actualLhs.data(),actualLhs.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
334 | actualRhsPtr,1,
| ~~~~~~~~~~~~~~~
335 | dest.data(),dest.innerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
336 | actualAlpha);
| ~~~~~~~~~~~~
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h:105:24: note: by argument 5 of type ‘const double*’ to ‘static void Eigen::internal::triangular_matrix_vector_product<Index, Mode, LhsScalar, ConjLhs, RhsScalar, ConjRhs, 1, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, const ResScalar&) [with Index = long int; int Mode = 6; LhsScalar = double; bool ConjLhs = false; RhsScalar = double; bool ConjRhs = false; int Version = 0]’ declared here
105 | EIGEN_DONT_INLINE void triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,RowMajor,Version>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/Selector.cpp -o LinAlg/Selector.o
LinAlg/Selector.cpp: In constructor ‘BOOM::Selector::Selector(const std::vector<long int>&, BOOM::uint)’:
LinAlg/Selector.cpp:87:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<long int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
87 | for (uint i = 0; i < pos.size(); ++i) add(pos[i]);
| ~~^~~~~~~~~~~~
LinAlg/Selector.cpp: In member function ‘BOOM::Selector& BOOM::Selector::append(const BOOM::Selector&)’:
LinAlg/Selector.cpp:115:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
115 | for (int i = 0; i < rhs.included_positions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
LinAlg/Selector.cpp: In member function ‘BOOM::Vector BOOM::Selector::select_if_needed(const BOOM::Vector&) const’:
LinAlg/Selector.cpp:385:18: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
385 | if (x.size() == nvars()) {
| ~~~~~~~~~^~~~~~~~~~
LinAlg/Selector.cpp: In member function ‘void BOOM::Selector::sparse_multiply(const BOOM::Matrix&, const BOOM::Vector&, BOOM::VectorView) const’:
LinAlg/Selector.cpp:565:38: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
565 | bool v_already_sparse = v.size() == nvars();
| ~~~~~~~~~^~~~~~~~~~
LinAlg/Selector.cpp:571:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
571 | for (int i = 0; i < included_positions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
LinAlg/Selector.cpp: In member function ‘bool BOOM::SelectorMatrix::all_in() const’:
LinAlg/Selector.cpp:705:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Selector>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
705 | for (int i = 0; i < columns_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
LinAlg/Selector.cpp: In member function ‘bool BOOM::SelectorMatrix::all_out() const’:
LinAlg/Selector.cpp:714:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Selector>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
714 | for (int i = 0; i < columns_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
LinAlg/Selector.cpp: In member function ‘BOOM::Matrix BOOM::SelectorMatrix::expand(const BOOM::Vector&) const’:
LinAlg/Selector.cpp:782:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
782 | if (values.size() != nvars()) {
| ~~~~~~~~~~~~~~^~~~~~~~~~
LinAlg/Selector.cpp: In function ‘bool BOOM::check_vec(const Vector&, int, const Vector&)’:
LinAlg/Selector.cpp:835:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
835 | for (uint i = 0; i < small.size(); ++i) {
| ~~^~~~~~~~~~~~~~
LinAlg/Selector.cpp:837:13: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
837 | if (I >= big.size()) return false;
| ~~^~~~~~~~~~~~~
LinAlg/Selector.cpp: In instantiation of ‘double BOOM::{anonymous}::do_sparse_dot_product(const BOOM::Selector&, const VEC1&, const VEC2&) [with VEC1 = BOOM::Vector; VEC2 = BOOM::Vector]’:
LinAlg/Selector.cpp:614:33: required from here
614 | return do_sparse_dot_product(*this, full, sparse);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
LinAlg/Selector.cpp:601:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
601 | if (full.size() != n || sparse.size() > n) {
| ~~~~~~~~~~~~^~~~
LinAlg/Selector.cpp:601:45: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
601 | if (full.size() != n || sparse.size() > n) {
| ~~~~~~~~~~~~~~^~~
LinAlg/Selector.cpp: In instantiation of ‘double BOOM::{anonymous}::do_sparse_dot_product(const BOOM::Selector&, const VEC1&, const VEC2&) [with VEC1 = BOOM::Vector; VEC2 = BOOM::VectorView]’:
LinAlg/Selector.cpp:618:33: required from here
618 | return do_sparse_dot_product(*this, full, sparse);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
LinAlg/Selector.cpp:601:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
601 | if (full.size() != n || sparse.size() > n) {
| ~~~~~~~~~~~~^~~~
LinAlg/Selector.cpp: In instantiation of ‘double BOOM::{anonymous}::do_sparse_dot_product(const BOOM::Selector&, const VEC1&, const VEC2&) [with VEC1 = BOOM::Vector; VEC2 = BOOM::ConstVectorView]’:
LinAlg/Selector.cpp:622:33: required from here
622 | return do_sparse_dot_product(*this, full, sparse);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
LinAlg/Selector.cpp:601:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
601 | if (full.size() != n || sparse.size() > n) {
| ~~~~~~~~~~~~^~~~
LinAlg/Selector.cpp: In instantiation of ‘double BOOM::{anonymous}::do_sparse_dot_product(const BOOM::Selector&, const VEC1&, const VEC2&) [with VEC1 = BOOM::VectorView; VEC2 = BOOM::Vector]’:
LinAlg/Selector.cpp:626:33: required from here
626 | return do_sparse_dot_product(*this, full, sparse);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
LinAlg/Selector.cpp:601:45: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
601 | if (full.size() != n || sparse.size() > n) {
| ~~~~~~~~~~~~~~^~~
LinAlg/Selector.cpp: In instantiation of ‘double BOOM::{anonymous}::do_sparse_dot_product(const BOOM::Selector&, const VEC1&, const VEC2&) [with VEC1 = BOOM::ConstVectorView; VEC2 = BOOM::Vector]’:
LinAlg/Selector.cpp:638:33: required from here
638 | return do_sparse_dot_product(*this, full, sparse);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
LinAlg/Selector.cpp:601:45: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
601 | if (full.size() != n || sparse.size() > n) {
| ~~~~~~~~~~~~~~^~~
LinAlg/Selector.cpp: In instantiation of ‘double BOOM::{anonymous}::sparse_sum_impl(const BOOM::Selector&, const VECTOR&) [with VECTOR = BOOM::VectorView]’:
LinAlg/Selector.cpp:668:27: required from here
668 | return sparse_sum_impl(*this, v);
| ~~~~~~~~~~~~~~~^~~~~~~~~~
LinAlg/Selector.cpp:653:20: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
653 | if (v.size() != n) {
| ~~~~~~~~~^~~~
LinAlg/Selector.cpp: In instantiation of ‘double BOOM::{anonymous}::sparse_sum_impl(const BOOM::Selector&, const VECTOR&) [with VECTOR = BOOM::ConstVectorView]’:
LinAlg/Selector.cpp:671:27: required from here
671 | return sparse_sum_impl(*this, v);
| ~~~~~~~~~~~~~~~^~~~~~~~~~
LinAlg/Selector.cpp:653:20: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
653 | if (v.size() != n) {
| ~~~~~~~~~^~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/SpdMatrix.cpp -o LinAlg/SpdMatrix.o
LinAlg/SpdMatrix.cpp: In member function ‘BOOM::Vector BOOM::SpdMatrix::solve(const BOOM::Vector&, bool&) const’:
LinAlg/SpdMatrix.cpp:331:20: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
331 | if (rhs.size() != this->ncol()) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from ../inst/include/Eigen/Core:341,
from ../inst/include/Eigen/LU:11,
from LinAlg/Matrix.cpp:42:
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h: In function ‘static void Eigen::internal::trmv_selector<Mode, 1>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, -1, false> >; Rhs = Eigen::Transpose<const Eigen::CwiseBinaryOp<Eigen::internal::scalar_product_op<double, double>, const Eigen::CwiseNullaryOp<Eigen::internal::scalar_constant_op<double>, const Eigen::Matrix<double, 1, -1> >, const Eigen::Transpose<const Eigen::Block<const Eigen::Block<const Eigen::Block<Eigen::Matrix<double, -1, -1>, -1, -1, false>, -1, 1, true>, -1, 1, false> > > >; Dest = Eigen::Transpose<Eigen::Block<Eigen::Block<Eigen::Matrix<double, -1, -1, 1, -1, -1>, 1, -1, true>, 1, -1, false> >; int Mode = 6]’:
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h:332:12: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
327 | internal::triangular_matrix_vector_product
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | <Index,Mode,
| ~~~~~~~~~~~~
329 | LhsScalar, LhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
330 | RhsScalar, RhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
331 | RowMajor>
| ~~~~~~~~~
332 | ::run(actualLhs.rows(),actualLhs.cols(),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | actualLhs.data(),actualLhs.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
334 | actualRhsPtr,1,
| ~~~~~~~~~~~~~~~
335 | dest.data(),dest.innerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
336 | actualAlpha);
| ~~~~~~~~~~~~
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h:105:24: note: by argument 5 of type ‘const double*’ to ‘static void Eigen::internal::triangular_matrix_vector_product<Index, Mode, LhsScalar, ConjLhs, RhsScalar, ConjRhs, 1, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, const ResScalar&) [with Index = long int; int Mode = 6; LhsScalar = double; bool ConjLhs = false; RhsScalar = double; bool ConjRhs = false; int Version = 0]’ declared here
105 | EIGEN_DONT_INLINE void triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,RowMajor,Version>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h: In function ‘static void Eigen::internal::trmv_selector<Mode, 1>::run(const Lhs&, const Rhs&, Dest&, const typename Dest::Scalar&) [with Lhs = Eigen::Transpose<const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> > >; Rhs = Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; Dest = Eigen::Matrix<double, -1, 1>; int Mode = 2]’:
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h:332:12: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
327 | internal::triangular_matrix_vector_product
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328 | <Index,Mode,
| ~~~~~~~~~~~~
329 | LhsScalar, LhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
330 | RhsScalar, RhsBlasTraits::NeedToConjugate,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
331 | RowMajor>
| ~~~~~~~~~
332 | ::run(actualLhs.rows(),actualLhs.cols(),
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
333 | actualLhs.data(),actualLhs.outerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
334 | actualRhsPtr,1,
| ~~~~~~~~~~~~~~~
335 | dest.data(),dest.innerStride(),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
336 | actualAlpha);
| ~~~~~~~~~~~~
../inst/include/Eigen/src/Core/products/TriangularMatrixVector.h:105:24: note: by argument 5 of type ‘const double*’ to ‘static void Eigen::internal::triangular_matrix_vector_product<Index, Mode, LhsScalar, ConjLhs, RhsScalar, ConjRhs, 1, Version>::run(Index, Index, const LhsScalar*, Index, const RhsScalar*, Index, ResScalar*, Index, const ResScalar&) [with Index = long int; int Mode = 2; LhsScalar = double; bool ConjLhs = false; RhsScalar = double; bool ConjRhs = false; int Version = 0]’ declared here
105 | EIGEN_DONT_INLINE void triangular_matrix_vector_product<Index,Mode,LhsScalar,ConjLhs,RhsScalar,ConjRhs,RowMajor,Version>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/SubMatrix.cpp -o LinAlg/SubMatrix.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/Vector.cpp -o LinAlg/Vector.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/VectorView.cpp -o LinAlg/VectorView.o
In file included from ../inst/include/Eigen/Core:339,
from ../inst/include/Eigen/Cholesky:11,
from LinAlg/SpdMatrix.cpp:34:
../inst/include/Eigen/src/Core/products/SelfadjointProduct.h: In function ‘static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, true>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Map<Eigen::Matrix<double, -1, -1> >; OtherType = Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::InnerStride<> >; int UpLo = 2]’:
../inst/include/Eigen/src/Core/products/SelfadjointProduct.h:78:16: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
75 | selfadjoint_rank1_update<Scalar,Index,StorageOrder,UpLo,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
76 | OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
77 | (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
78 | ::run(other.size(), mat.data(), mat.outerStride(), actualOtherPtr, actualOtherPtr, actualAlpha);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Eigen/src/Core/products/SelfadjointProduct.h:25:15: note: by argument 4 of type ‘const double*’ to ‘static void Eigen::selfadjoint_rank1_update<Scalar, Index, 0, UpLo, ConjLhs, ConjRhs>::run(Index, Scalar*, Index, const Scalar*, const Scalar*, const Scalar&) [with Scalar = double; Index = long int; int UpLo = 2; bool ConjLhs = false; bool ConjRhs = false]’ declared here
25 | static void run(Index size, Scalar* mat, Index stride, const Scalar* vecX, const Scalar* vecY, const Scalar& alpha)
| ^~~
../inst/include/Eigen/src/Core/products/SelfadjointProduct.h:78:16: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
75 | selfadjoint_rank1_update<Scalar,Index,StorageOrder,UpLo,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
76 | OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
77 | (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
78 | ::run(other.size(), mat.data(), mat.outerStride(), actualOtherPtr, actualOtherPtr, actualAlpha);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Eigen/src/Core/products/SelfadjointProduct.h:25:15: note: by argument 5 of type ‘const double*’ to ‘static void Eigen::selfadjoint_rank1_update<Scalar, Index, 0, UpLo, ConjLhs, ConjRhs>::run(Index, Scalar*, Index, const Scalar*, const Scalar*, const Scalar&) [with Scalar = double; Index = long int; int UpLo = 2; bool ConjLhs = false; bool ConjRhs = false]’ declared here
25 | static void run(Index size, Scalar* mat, Index stride, const Scalar* vecX, const Scalar* vecY, const Scalar& alpha)
| ^~~
../inst/include/Eigen/src/Core/products/SelfadjointProduct.h: In function ‘static void Eigen::selfadjoint_product_selector<MatrixType, OtherType, UpLo, true>::run(MatrixType&, const OtherType&, const typename MatrixType::Scalar&) [with MatrixType = Eigen::Map<Eigen::Matrix<double, -1, -1> >; OtherType = Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >; int UpLo = 2]’:
../inst/include/Eigen/src/Core/products/SelfadjointProduct.h:78:16: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
75 | selfadjoint_rank1_update<Scalar,Index,StorageOrder,UpLo,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
76 | OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
77 | (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
78 | ::run(other.size(), mat.data(), mat.outerStride(), actualOtherPtr, actualOtherPtr, actualAlpha);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Eigen/src/Core/products/SelfadjointProduct.h:25:15: note: by argument 4 of type ‘const double*’ to ‘static void Eigen::selfadjoint_rank1_update<Scalar, Index, 0, UpLo, ConjLhs, ConjRhs>::run(Index, Scalar*, Index, const Scalar*, const Scalar*, const Scalar&) [with Scalar = double; Index = long int; int UpLo = 2; bool ConjLhs = false; bool ConjRhs = false]’ declared here
25 | static void run(Index size, Scalar* mat, Index stride, const Scalar* vecX, const Scalar* vecY, const Scalar& alpha)
| ^~~
../inst/include/Eigen/src/Core/products/SelfadjointProduct.h:78:16: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
75 | selfadjoint_rank1_update<Scalar,Index,StorageOrder,UpLo,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
76 | OtherBlasTraits::NeedToConjugate && NumTraits<Scalar>::IsComplex,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
77 | (!OtherBlasTraits::NeedToConjugate) && NumTraits<Scalar>::IsComplex>
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
78 | ::run(other.size(), mat.data(), mat.outerStride(), actualOtherPtr, actualOtherPtr, actualAlpha);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Eigen/src/Core/products/SelfadjointProduct.h:25:15: note: by argument 5 of type ‘const double*’ to ‘static void Eigen::selfadjoint_rank1_update<Scalar, Index, 0, UpLo, ConjLhs, ConjRhs>::run(Index, Scalar*, Index, const Scalar*, const Scalar*, const Scalar&) [with Scalar = double; Index = long int; int UpLo = 2; bool ConjLhs = false; bool ConjRhs = false]’ declared here
25 | static void run(Index size, Scalar* mat, Index stride, const Scalar* vecX, const Scalar* vecY, const Scalar& alpha)
| ^~~
LinAlg/Vector.cpp: In constructor ‘BOOM::Vector::Vector(const std::string&)’:
LinAlg/Vector.cpp:68:11: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
68 | if (n > s.size()) {
| ~~^~~~~~~~~~
LinAlg/Vector.cpp: In member function ‘std::ostream& BOOM::Vector::write(std::ostream&, bool) const’:
LinAlg/Vector.cpp:211:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
211 | for (uint i = 1; i < size(); ++i) out << " " << operator[](i);
| ~~^~~~~~~~
LinAlg/Vector.cpp: In member function ‘std::istream& BOOM::Vector::read(std::istream&)’:
LinAlg/Vector.cpp:217:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
217 | for (uint i = 0; i < size(); ++i) in >> operator[](i);
| ~~^~~~~~~~
LinAlg/Vector.cpp: In member function ‘BOOM::Vector& BOOM::Vector::operator*=(const BOOM::ConstVectorView&)’:
LinAlg/Vector.cpp:271:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
271 | for (uint i = 0; i < size(); ++i) (*this)[i] *= y[i];
| ~~^~~~~~~~
LinAlg/Vector.cpp: In member function ‘BOOM::Vector& BOOM::Vector::operator/=(const BOOM::ConstVectorView&)’:
LinAlg/Vector.cpp:284:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
284 | for (uint i = 0; i < size(); ++i) (*this)[i] /= y[i];
| ~~^~~~~~~~
LinAlg/Vector.cpp: In function ‘std::string BOOM::to_Rstring(const Vector&)’:
LinAlg/Vector.cpp:883:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
883 | for (int i = 1; i < v.size(); ++i) {
| ~~^~~~~~~~~~
In file included from ../inst/include/Eigen/Core:337:
../inst/include/Eigen/src/Core/products/SelfadjointMatrixVector.h: In function ‘static void Eigen::internal::selfadjoint_product_impl<Lhs, LhsMode, false, Rhs, 0, true>::run(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix<double, -1, 1>; Lhs = const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; int LhsMode = 18; Rhs = Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >]’:
../inst/include/Eigen/src/Core/products/SelfadjointMatrixVector.h:229:7: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
227 | internal::selfadjoint_matrix_vector_product<Scalar, Index, (internal::traits<ActualLhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228 | int(LhsUpLo), bool(LhsBlasTraits::NeedToConjugate), bool(RhsBlasTraits::NeedToConjugate)>::run
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
229 | (
| ^
230 | lhs.rows(), // size
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
231 | &lhs.coeffRef(0,0), lhs.outerStride(), // lhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
232 | actualRhsPtr, // rhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
233 | actualDestPtr, // result info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 | actualAlpha // scale factor
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235 | );
| ~
../inst/include/Eigen/src/Core/products/SelfadjointMatrixVector.h:41:6: note: by argument 4 of type ‘const double*’ to ‘static void Eigen::internal::selfadjoint_matrix_vector_product<Scalar, Index, StorageOrder, UpLo, ConjugateLhs, ConjugateRhs, Version>::run(Index, const Scalar*, Index, const Scalar*, Scalar*, Scalar) [with Scalar = double; Index = long int; int StorageOrder = 0; int UpLo = 2; bool ConjugateLhs = false; bool ConjugateRhs = false; int Version = 0]’ declared here
41 | void selfadjoint_matrix_vector_product<Scalar,Index,StorageOrder,UpLo,ConjugateLhs,ConjugateRhs,Version>::run(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from LinAlg/Vector.cpp:35:
../inst/include/cpputil/shift_element.hpp: In instantiation of ‘void BOOM::shift_element(std::vector<_RealType>&, int, int) [with C = double]’:
LinAlg/Vector.cpp:478:26: required from here
478 | ::BOOM::shift_element(*this, from, to);
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
../inst/include/cpputil/shift_element.hpp:41:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
41 | if (from < 0 || to < 0 || from >= v.size() || to >= v.size()) {
| ~~~~~^~~~~~~~~~~
../inst/include/cpputil/shift_element.hpp:41:54: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
41 | if (from < 0 || to < 0 || from >= v.size() || to >= v.size()) {
| ~~~^~~~~~~~~~~
LinAlg/Vector.cpp: In instantiation of ‘double BOOM::{anonymous}::dot_impl(const BOOM::Vector&, const V&) [with V = BOOM::Vector]’:
LinAlg/Vector.cpp:519:62: required from here
519 | double Vector::dot(const Vector &y) const { return dot_impl(*this, y); }
| ~~~~~~~~^~~~~~~~~~
LinAlg/Vector.cpp:496:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
496 | for (int i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
LinAlg/Vector.cpp: In instantiation of ‘double BOOM::{anonymous}::dot_impl(const BOOM::Vector&, const V&) [with V = BOOM::VectorView]’:
LinAlg/Vector.cpp:520:66: required from here
520 | double Vector::dot(const VectorView &y) const { return dot_impl(*this, y); }
| ~~~~~~~~^~~~~~~~~~
LinAlg/Vector.cpp:484:20: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
484 | if (y.size() != x.size()) {
| ~~~~~~~~~^~~~~~~~~~~
LinAlg/Vector.cpp:496:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
496 | for (int i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
LinAlg/Vector.cpp: In instantiation of ‘double BOOM::{anonymous}::dot_impl(const BOOM::Vector&, const V&) [with V = BOOM::ConstVectorView]’:
LinAlg/Vector.cpp:522:20: required from here
522 | return dot_impl(*this, y);
| ~~~~~~~~^~~~~~~~~~
LinAlg/Vector.cpp:484:20: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
484 | if (y.size() != x.size()) {
| ~~~~~~~~~^~~~~~~~~~~
LinAlg/Vector.cpp:496:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
496 | for (int i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
LinAlg/Vector.cpp: In instantiation of ‘std::pair<double, double> BOOM::{anonymous}::range_impl(const VECTOR&) [with VECTOR = BOOM::Vector]’:
LinAlg/Vector.cpp:855:71: required from here
855 | std::pair<double, double> range(const Vector &v) { return range_impl(v); }
| ~~~~~~~~~~^~~
LinAlg/Vector.cpp:842:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
842 | for (int i = 0; i < v.size(); ++i) {
| ~~^~~~~~~~~~
LinAlg/Vector.cpp: In instantiation of ‘std::vector<int> BOOM::{anonymous}::round_impl(const VECTOR&) [with VECTOR = BOOM::Vector]’:
LinAlg/Vector.cpp:1059:62: required from here
1059 | std::vector<int> round(const Vector &v) { return round_impl(v); }
| ~~~~~~~~~~^~~
LinAlg/Vector.cpp:1052:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1052 | for (int i = 0; i < v.size(); ++i) {
| ~~^~~~~~~~~~
LinAlg/VectorView.cpp: In constructor ‘BOOM::VectorView::VectorView(BOOM::Vector&, BOOM::uint)’:
LinAlg/VectorView.cpp:93:32: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
93 | if ( (first > 0) && (first >= v.size())) {
| ~~~~~~^~~~~~~~~~~
LinAlg/VectorView.cpp: In constructor ‘BOOM::VectorView::VectorView(BOOM::Vector&, BOOM::uint, BOOM::uint)’:
LinAlg/VectorView.cpp:101:18: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
101 | if (v.size() < first + length) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~
LinAlg/VectorView.cpp: In instantiation of ‘BOOM::VectorView BOOM::{anonymous}::tail_impl(VECTOR&, int) [with VECTOR = BOOM::Vector]’:
LinAlg/VectorView.cpp:513:58: required from here
513 | VectorView tail(Vector &v, int size) { return tail_impl(v, size); }
| ~~~~~~~~~^~~~~~~~~
LinAlg/VectorView.cpp:495:20: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
495 | if (v.size() <= size) {
| ~~~~~~~~~^~~~~~~
LinAlg/VectorView.cpp: In instantiation of ‘BOOM::ConstVectorView BOOM::{anonymous}::const_tail_impl(const VECTOR&, int) [with VECTOR = BOOM::Vector]’:
LinAlg/VectorView.cpp:517:27: required from here
517 | return const_tail_impl(v, size);
| ~~~~~~~~~~~~~~~^~~~~~~~~
LinAlg/VectorView.cpp:505:20: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
505 | if (v.size() <= size) {
| ~~~~~~~~~^~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c LinAlg/stack_columns.cpp -o LinAlg/stack_columns.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/cephes_rgamma.cpp -o math/cephes/cephes_rgamma.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/chbevl.cpp -o math/cephes/chbevl.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/dawsn.cpp -o math/cephes/dawsn.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/ei.cpp -o math/cephes/ei.o
In file included from ../inst/include/Eigen/Core:337,
from ../inst/include/LinAlg/EigenMap.hpp:22,
from LinAlg/Vector.cpp:42:
../inst/include/Eigen/src/Core/products/SelfadjointMatrixVector.h: In function ‘static void Eigen::internal::selfadjoint_product_impl<Lhs, LhsMode, false, Rhs, 0, true>::run(Dest&, const Lhs&, const Rhs&, const Scalar&) [with Dest = Eigen::Matrix<double, -1, 1>; Lhs = const Eigen::Map<const Eigen::Matrix<double, -1, -1>, 0, Eigen::Stride<0, 0> >; int LhsMode = 18; Rhs = Eigen::Map<const Eigen::Matrix<double, -1, 1>, 0, Eigen::Stride<0, 0> >]’:
../inst/include/Eigen/src/Core/products/SelfadjointMatrixVector.h:229:7: warning: ‘result’ may be used uninitialized [-Wmaybe-uninitialized]
227 | internal::selfadjoint_matrix_vector_product<Scalar, Index, (internal::traits<ActualLhsTypeCleaned>::Flags&RowMajorBit) ? RowMajor : ColMajor,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
228 | int(LhsUpLo), bool(LhsBlasTraits::NeedToConjugate), bool(RhsBlasTraits::NeedToConjugate)>::run
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
229 | (
| ^
230 | lhs.rows(), // size
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
231 | &lhs.coeffRef(0,0), lhs.outerStride(), // lhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
232 | actualRhsPtr, // rhs info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
233 | actualDestPtr, // result info
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
234 | actualAlpha // scale factor
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
235 | );
| ~
../inst/include/Eigen/src/Core/products/SelfadjointMatrixVector.h:41:6: note: by argument 4 of type ‘const double*’ to ‘static void Eigen::internal::selfadjoint_matrix_vector_product<Scalar, Index, StorageOrder, UpLo, ConjugateLhs, ConjugateRhs, Version>::run(Index, const Scalar*, Index, const Scalar*, Scalar*, Scalar) [with Scalar = double; Index = long int; int StorageOrder = 0; int UpLo = 2; bool ConjugateLhs = false; bool ConjugateRhs = false; int Version = 0]’ declared here
41 | void selfadjoint_matrix_vector_product<Scalar,Index,StorageOrder,UpLo,ConjugateLhs,ConjugateRhs,Version>::run(
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/expn.cpp -o math/cephes/expn.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/fac.cpp -o math/cephes/fac.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/fresnl.cpp -o math/cephes/fresnl.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/planck.cpp -o math/cephes/planck.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/polevl.cpp -o math/cephes/polevl.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/polylog.cpp -o math/cephes/polylog.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/powi.cpp -o math/cephes/powi.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/shichi.cpp -o math/cephes/shichi.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/sici.cpp -o math/cephes/sici.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/spence.cpp -o math/cephes/spence.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/zeta.cpp -o math/cephes/zeta.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/cephes/zetac.cpp -o math/cephes/zetac.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/kissfft/kiss_fft.cpp -o math/kissfft/kiss_fft.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/fft.cpp -o math/fft.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c math/lmultigamma.cpp -o math/lmultigamma.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Mixtures/BetaBinomialMixture.cpp -o Models/Mixtures/BetaBinomialMixture.o
math/fft.cpp: In member function ‘BOOM::Vector BOOM::FastFourierTransform::inverse_transform(const {anonymous}::ComplexVector&) const’:
math/fft.cpp:110:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
110 | for (int i = 0; i < nfft; ++i) {
| ~~^~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Mixtures/ConditionalFiniteMixtureModel.cpp -o Models/Mixtures/ConditionalFiniteMixtureModel.o
Models/Mixtures/BetaBinomialMixture.cpp: In member function ‘void BOOM::BetaBinomialMixtureModel::impute_data_point(BOOM::RNG&, const BOOM::Ptr<BOOM::AggregatedBinomialData>&)’:
Models/Mixtures/BetaBinomialMixture.cpp:85:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
85 | for (int s = 0; s < apportionment.size(); ++s) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/BetaBinomialMixture.cpp: In member function ‘double BOOM::BetaBinomialMixtureModel::log_likelihood(const BOOM::Vector&, const BOOM::Matrix&) const’:
Models/Mixtures/BetaBinomialMixture.cpp:106:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::AggregatedBinomialData>, std::allocator<BOOM::Ptr<BOOM::AggregatedBinomialData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (int i = 0; i < dat().size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/Mixtures/ConditionalFiniteMixtureModel.cpp: In constructor ‘BOOM::ConditionalFiniteMixtureModel::ConditionalFiniteMixtureModel(const std::vector<BOOM::Ptr<BOOM::MixtureComponent> >&, const BOOM::Ptr<BOOM::MultinomialLogitModel>&)’:
Models/Mixtures/ConditionalFiniteMixtureModel.cpp:91:42: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::MixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
91 | if (mixing_distribution_->Nchoices() != mixture_components.size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/ConditionalFiniteMixtureModel.cpp: In member function ‘virtual void BOOM::ConditionalFiniteMixtureModel::combine_data(const BOOM::Model&, bool)’:
Models/Mixtures/ConditionalFiniteMixtureModel.cpp:134:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ConditionalMixtureData> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
134 | for (int i = 0; i < other.data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Mixtures/DirichletProcessMixture.cpp -o Models/Mixtures/DirichletProcessMixture.o
Models/Mixtures/DirichletProcessMixture.cpp: In member function ‘void BOOM::DirichletProcessMixtureModel::set_stick_fractions(const BOOM::Vector&)’:
Models/Mixtures/DirichletProcessMixture.cpp:49:32: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
49 | if (stick_fractions.size() != number_of_components()) {
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMixture.cpp: In member function ‘virtual void BOOM::DirichletProcessMixtureModel::clear_data()’:
Models/Mixtures/DirichletProcessMixture.cpp:84:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::DirichletProcessMixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
84 | for (int i = 0; i < mixture_components_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMixture.cpp: In member function ‘virtual void BOOM::DirichletProcessMixtureModel::combine_data(const BOOM::Model&, bool)’:
Models/Mixtures/DirichletProcessMixture.cpp:93:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::Data> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
93 | for (int i = 0; i < other_data.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMixture.cpp: In member function ‘virtual void BOOM::DirichletProcessMixtureModel::remove_empty_cluster(const BOOM::Ptr<BOOM::DirichletProcessMixtureComponent>&, bool)’:
Models/Mixtures/DirichletProcessMixture.cpp:175:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::DirichletProcessMixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
175 | for (int i = which_cluster; i < mixture_components_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMixture.cpp: In member function ‘virtual void BOOM::DirichletProcessMixtureModel::remove_all_empty_clusters()’:
Models/Mixtures/DirichletProcessMixture.cpp:187:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::DirichletProcessMixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
187 | for (int i = 0; i < mixture_components_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMixture.cpp: In member function ‘void BOOM::DirichletProcessMixtureModel::compute_mixing_weights()’:
Models/Mixtures/DirichletProcessMixture.cpp:207:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
207 | for (int i = 0; i < stick_fractions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMixture.cpp: In member function ‘void BOOM::DirichletProcessMixtureModel::compute_stick_fractions_from_mixing_weights()’:
Models/Mixtures/DirichletProcessMixture.cpp:218:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 1; i < stick_fractions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMixture.cpp: In member function ‘virtual void BOOM::DirichletProcessMixtureModel::replace_cluster(const BOOM::Ptr<BOOM::DirichletProcessMixtureComponent>&, const BOOM::Ptr<BOOM::DirichletProcessMixtureComponent>&)’:
Models/Mixtures/DirichletProcessMixture.cpp:319:42: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::DirichletProcessMixtureComponent> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
319 | if (spare_mixture_components_.size() > 2 * buffer_size) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMixture.cpp: In member function ‘virtual void BOOM::DirichletProcessMixtureModel::insert_cluster(const BOOM::Ptr<BOOM::DirichletProcessMixtureComponent>&, int)’:
Models/Mixtures/DirichletProcessMixture.cpp:340:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::DirichletProcessMixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
340 | for (int i = index; i < mixture_components_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from Models/Mixtures/DirichletProcessMixture.cpp:23:
../inst/include/cpputil/shift_element.hpp: In instantiation of ‘void BOOM::shift_element(std::vector<_RealType>&, int, int) [with C = Ptr<DirichletProcessMixtureComponent>]’:
Models/Mixtures/DirichletProcessMixture.cpp:196:18: required from here
196 | shift_element(mixture_components_, from, to);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/cpputil/shift_element.hpp:41:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::DirichletProcessMixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
41 | if (from < 0 || to < 0 || from >= v.size() || to >= v.size()) {
| ~~~~~^~~~~~~~~~~
../inst/include/cpputil/shift_element.hpp:41:54: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::DirichletProcessMixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
41 | if (from < 0 || to < 0 || from >= v.size() || to >= v.size()) {
| ~~~^~~~~~~~~~~
../inst/include/cpputil/shift_element.hpp: In instantiation of ‘void BOOM::shift_element(std::vector<_RealType>&, int, int) [with C = Ptr<ConjugateDirichletProcessMixtureComponent>]’:
Models/Mixtures/DirichletProcessMixture.cpp:415:18: required from here
415 | shift_element(conjugate_mixture_components_, from, to);
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/cpputil/shift_element.hpp:41:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ConjugateDirichletProcessMixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
41 | if (from < 0 || to < 0 || from >= v.size() || to >= v.size()) {
| ~~~~~^~~~~~~~~~~
../inst/include/cpputil/shift_element.hpp:41:54: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ConjugateDirichletProcessMixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
41 | if (from < 0 || to < 0 || from >= v.size() || to >= v.size()) {
| ~~~^~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Mixtures/DirichletProcessMvnModel.cpp -o Models/Mixtures/DirichletProcessMvnModel.o
Models/Mixtures/DirichletProcessMvnModel.cpp: In copy constructor ‘BOOM::DirichletProcessMvnModel::DirichletProcessMvnModel(const BOOM::{anonymous}::DPMM&)’:
Models/Mixtures/DirichletProcessMvnModel.cpp:46:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MvnModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
46 | for (int i = 0; i < mixture_components_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMvnModel.cpp: In member function ‘void BOOM::DirichletProcessMvnModel::assign_data_to_cluster(const BOOM::Vector&, int)’:
Models/Mixtures/DirichletProcessMvnModel.cpp:63:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MvnModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | if (cluster < mixture_components_.size()) {
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMvnModel.cpp:65:24: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MvnModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
65 | } else if (cluster == mixture_components_.size()) {
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMvnModel.cpp: In member function ‘void BOOM::DirichletProcessMvnModel::remove_data_from_cluster(const BOOM::Vector&, int)’:
Models/Mixtures/DirichletProcessMvnModel.cpp:78:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MvnModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
78 | if (cluster < mixture_components_.size()) {
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMvnModel.cpp: In member function ‘void BOOM::DirichletProcessMvnModel::update_cluster(const BOOM::Vector&, const BOOM::Vector&, int)’:
Models/Mixtures/DirichletProcessMvnModel.cpp:94:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MvnModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
94 | if (cluster < mixture_components_.size()) {
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMvnModel.cpp: In member function ‘const BOOM::MvnModel& BOOM::DirichletProcessMvnModel::cluster(int) const’:
Models/Mixtures/DirichletProcessMvnModel.cpp:104:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MvnModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
104 | if (i >= mixture_components_.size()) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMvnModel.cpp: In member function ‘BOOM::Vector BOOM::DirichletProcessMvnModel::allocation_counts() const’:
Models/Mixtures/DirichletProcessMvnModel.cpp:158:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MvnModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
158 | for (int i = 0; i < mixture_components_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/DirichletProcessMvnModel.cpp: In member function ‘void BOOM::DirichletProcessMvnModel::register_models()’:
Models/Mixtures/DirichletProcessMvnModel.cpp:178:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MvnModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
178 | for (int i = 0; i < mixture_components_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Mixtures/MvnMetaAnalysisDPMPriorModel.cpp -o Models/Mixtures/MvnMetaAnalysisDPMPriorModel.o
In file included from ../inst/include/Models/Mixtures/MvnMetaAnalysisDPMPriorModel.hpp:23,
from Models/Mixtures/MvnMetaAnalysisDPMPriorModel.cpp:20:
../inst/include/Models/Hierarchical/HierarchicalModel.hpp: In instantiation of ‘BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>::HierarchicalModelBase(const BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>&) [with DATA_MODEL_TYPE = BOOM::MvnModel; PRIOR_TYPE = BOOM::DirichletProcessMvnModel]’:
../inst/include/Models/Mixtures/MvnMetaAnalysisDPMPriorModel.hpp:52:9: required from here
52 | class MvnMetaAnalysisDPMPriorModel
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:53:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MvnModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
53 | for (int i = 0; i < rhs.data_level_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Hierarchical/HierarchicalModel.hpp: In instantiation of ‘void BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>::initialize_model_structure() [with DATA_MODEL_TYPE = BOOM::MvnModel; PRIOR_TYPE = BOOM::DirichletProcessMvnModel]’:
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:44:7: required from ‘BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>::HierarchicalModelBase(const BOOM::Ptr<PRIOR_TYPE>&) [with DATA_MODEL_TYPE = BOOM::MvnModel; PRIOR_TYPE = BOOM::DirichletProcessMvnModel]’
44 | initialize_model_structure();
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Mixtures/MvnMetaAnalysisDPMPriorModel.cpp:44:66: required from here
44 | : HierarchicalBase(new DirichletProcessMvnModel(dim, alpha)) {}
| ^
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:112:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MvnModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
112 | for (int i = 0; i < data_level_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Hierarchical/HierarchicalModel.hpp: In instantiation of ‘void BOOM::HierarchicalModelBase<DATA_MODEL_TYPE, PRIOR_TYPE>::clear_methods() [with DATA_MODEL_TYPE = BOOM::MvnModel; PRIOR_TYPE = BOOM::DirichletProcessMvnModel]’:
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:81:10: required from here
81 | void clear_methods() override {
| ^~~~~~~~~~~~~
../inst/include/Models/Hierarchical/HierarchicalModel.hpp:83:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MvnModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (int i = 0; i < data_level_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Mixtures/identify_permutation.cpp -o Models/Mixtures/identify_permutation.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Mixtures/PosteriorSamplers/BetaBinomialMixturePosteriorSampler.cpp -o Models/Mixtures/PosteriorSamplers/BetaBinomialMixturePosteriorSampler.o
Models/Mixtures/PosteriorSamplers/BetaBinomialMixturePosteriorSampler.cpp: In member function ‘double BOOM::BetaBinomialMixtureDirectPosteriorSampler::log_posterior(const BOOM::Vector&) const’:
Models/Mixtures/PosteriorSamplers/BetaBinomialMixturePosteriorSampler.cpp:111:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
111 | for (int i = 0; i < component_means.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Mixtures/PosteriorSamplers/ConditionalFiniteMixtureSampler.cpp -o Models/Mixtures/PosteriorSamplers/ConditionalFiniteMixtureSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Mixtures/PosteriorSamplers/DirichletProcessCollapsedGibbsSampler.cpp -o Models/Mixtures/PosteriorSamplers/DirichletProcessCollapsedGibbsSampler.o
Models/Mixtures/PosteriorSamplers/DirichletProcessCollapsedGibbsSampler.cpp: In member function ‘void BOOM::DirichletProcessCollapsedGibbsSampler::draw_marginal_cluster_membership_indicators()’:
Models/Mixtures/PosteriorSamplers/DirichletProcessCollapsedGibbsSampler.cpp:56:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::Data> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
56 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Mixtures/PosteriorSamplers/DirichletProcessMvnCollapsedGibbsSampler.cpp -o Models/Mixtures/PosteriorSamplers/DirichletProcessMvnCollapsedGibbsSampler.o
Models/Mixtures/PosteriorSamplers/DirichletProcessMvnCollapsedGibbsSampler.cpp: In member function ‘void BOOM::DirichletProcessMvnCollapsedGibbsSampler::draw_cluster_membership_indicators()’:
Models/Mixtures/PosteriorSamplers/DirichletProcessMvnCollapsedGibbsSampler.cpp:67:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
67 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/Mixtures/PosteriorSamplers/DirichletProcessMvnCollapsedGibbsSampler.cpp:74:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
74 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/Mixtures/PosteriorSamplers/DirichletProcessMvnCollapsedGibbsSampler.cpp:85:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
85 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/Mixtures/PosteriorSamplers/DirichletProcessMvnCollapsedGibbsSampler.cpp: In member function ‘void BOOM::DirichletProcessMvnCollapsedGibbsSampler::remove_data_from_cluster(const BOOM::Vector&, int)’:
Models/Mixtures/PosteriorSamplers/DirichletProcessMvnCollapsedGibbsSampler.cpp:156:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
156 | for (int i = 0; i < model_->cluster_indicators().size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Mixtures/PosteriorSamplers/DirichletProcessSliceSampler.cpp -o Models/Mixtures/PosteriorSamplers/DirichletProcessSliceSampler.o
Models/Mixtures/PosteriorSamplers/DirichletProcessSliceSampler.cpp: In member function ‘void BOOM::DirichletProcessSliceSampler::randomly_allocate_data_to_clusters()’:
Models/Mixtures/PosteriorSamplers/DirichletProcessSliceSampler.cpp:341:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::Data> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
341 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Mixtures/PosteriorSamplers/MvnMetaAnalysisDPMPriorSampler.cpp -o Models/Mixtures/PosteriorSamplers/MvnMetaAnalysisDPMPriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Mixtures/PosteriorSamplers/SplitMerge.cpp -o Models/Mixtures/PosteriorSamplers/SplitMerge.o
In file included from Models/Mixtures/PosteriorSamplers/SplitMerge.cpp:24:
../inst/include/cpputil/shift_element.hpp: In instantiation of ‘void BOOM::shift_element(std::vector<_RealType>&, int, int) [with C = double]’:
Models/Mixtures/PosteriorSamplers/SplitMerge.cpp:243:20: required from here
243 | shift_element(split_mixing_weights, split_mixing_weights.size() - 1,
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
244 | split2->mixture_component_index());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/cpputil/shift_element.hpp:41:36: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
41 | if (from < 0 || to < 0 || from >= v.size() || to >= v.size()) {
| ~~~~~^~~~~~~~~~~
../inst/include/cpputil/shift_element.hpp:41:54: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
41 | if (from < 0 || to < 0 || from >= v.size() || to >= v.size()) {
| ~~~^~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/BetaBinomialModel.cpp -o Models/BetaBinomialModel.o
Models/BetaBinomialModel.cpp: In constructor ‘BOOM::BetaBinomialModel::BetaBinomialModel(const BOOM::Vector&, const BOOM::Vector&)’:
Models/BetaBinomialModel.cpp:153:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
153 | for (int i = 0; i < trials.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
In file included from ../inst/include/Models/BinomialModel.hpp:27,
from ../inst/include/Models/BetaBinomialModel.hpp:22,
from Models/BetaBinomialModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::BinomialData; S = BOOM::BetaBinomialSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::BinomialData; S = BOOM::BetaBinomialSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/BetaBinomialModel.cpp:177:24: required from here
177 | PriorPolicy(rhs)
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::BinomialData>, std::allocator<BOOM::Ptr<BOOM::BinomialData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/BetaModel.cpp -o Models/BetaModel.o
In file included from ../inst/include/Models/BetaModel.hpp:27,
from Models/BetaModel.cpp:19:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::BetaSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::BetaSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/BetaModel.cpp:124:28: required from here
124 | DiffDoubleModel(rhs) {}
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/BinomialModel.cpp -o Models/BinomialModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/CategoricalData.cpp -o Models/CategoricalData.o
In file included from ../inst/include/Models/BinomialModel.hpp:27,
from Models/BinomialModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::BinomialData; S = BOOM::BinomialSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::BinomialData; S = BOOM::BinomialSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/BinomialModel.cpp:185:24: required from here
185 | NumOptModel(rhs) {
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::BinomialData>, std::allocator<BOOM::Ptr<BOOM::BinomialData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/ChisqModel.cpp -o Models/ChisqModel.o
Models/CategoricalData.cpp: In member function ‘virtual void BOOM::CatKey::Register(BOOM::CategoricalData*)’:
Models/CategoricalData.cpp:93:21: warning: comparison of integer expressions of different signedness: ‘const BOOM::uint’ {aka ‘const long int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
93 | if (dp->value() >= labs_.size()) {
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~
Models/CategoricalData.cpp: In member function ‘void BOOM::CatKey::reorder(const std::vector<std::__cxx11::basic_string<char> >&)’:
Models/CategoricalData.cpp:147:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
147 | for (uint i = 0; i < labs_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/CategoricalData.cpp:149:26: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
149 | for (uint j = 0; j < new_ordering.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Models/CategoricalData.cpp: In member function ‘virtual std::ostream& BOOM::CatKey::print(BOOM::uint, std::ostream&) const’:
Models/CategoricalData.cpp:179:15: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
179 | if (value >= labs_.size()) {
| ~~~~~~^~~~~~~~~~~~~~~
Models/CategoricalData.cpp: In member function ‘std::vector<long int> BOOM::CatKey::map_levels(const std::vector<std::__cxx11::basic_string<char> >&) const’:
Models/CategoricalData.cpp:203:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
203 | for (uint i = 0; i < labs_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/CategoricalData.cpp:205:26: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
205 | for (uint j = 0; j < sv.size(); ++j) {
| ~~^~~~~~~~~~~
In file included from ../inst/include/Models/GammaModel.hpp:29,
from ../inst/include/Models/ChisqModel.hpp:21,
from Models/ChisqModel.cpp:19:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::GammaSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::GammaSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/GammaModel.hpp:76:9: required from here
76 | class GammaModelBase // Gamma Model, Chi-Square Model, Scaled Chi-Square
| ^~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/CompositeData.cpp -o Models/CompositeData.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/CompositeModel.cpp -o Models/CompositeModel.o
In file included from ../inst/include/Models/CompositeModel.hpp:24,
from Models/CompositeModel.cpp:20:
../inst/include/Models/Policies/CompositeParamPolicy.hpp: In instantiation of ‘void BOOM::CompositeParamPolicy::set_models(Fwd, Fwd) [with Fwd = __gnu_cxx::__normal_iterator<BOOM::Ptr<BOOM::MixtureComponent>*, std::vector<BOOM::Ptr<BOOM::MixtureComponent> > >]’:
Models/CompositeModel.cpp:28:45: required from here
28 | void CM::setup() { ParamPolicy::set_models(m_.begin(), m_.end()); }
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/CompositeParamPolicy.hpp:74:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::Model> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
74 | for (uint i = 0; i < models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/ConstrainedVectorParams.cpp -o Models/ConstrainedVectorParams.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/DataTypes.cpp -o Models/DataTypes.o
Models/DataTypes.cpp: In member function ‘virtual void BOOM::PartiallyObservedVectorData::set(const BOOM::Vector&, bool)’:
Models/DataTypes.cpp:113:20: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
113 | if (rhs.size() != obs_.nvars_possible()) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/DirichletModel.cpp -o Models/DirichletModel.o
Models/DirichletModel.cpp: In member function ‘virtual double BOOM::DirichletModel::Logp(const BOOM::Vector&, BOOM::Vector&, BOOM::Matrix&, BOOM::uint) const’:
Models/DirichletModel.cpp:185:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
185 | for (int i = 0; i < probs.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/DirichletModel.cpp:189:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
189 | for (int j = 0; j < probs.size(); ++j) {
| ~~^~~~~~~~~~~~~~
In file included from ../inst/include/Models/DirichletModel.hpp:29,
from Models/DirichletModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::VectorData; S = BOOM::DirichletSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::VectorData; S = BOOM::DirichletSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/DirichletModel.cpp:116:29: required from here
116 | MixtureComponent(rhs) {}
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/DiscreteUniformModel.cpp -o Models/DiscreteUniformModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/ExponentialIncrementModel.cpp -o Models/ExponentialIncrementModel.o
Models/ExponentialIncrementModel.cpp: In constructor ‘BOOM::ExponentialIncrementModel::ExponentialIncrementModel(const BOOM::Vector&)’:
Models/ExponentialIncrementModel.cpp:30:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
30 | for (int i = 0; i < increment_rates.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
Models/ExponentialIncrementModel.cpp: In copy constructor ‘BOOM::ExponentialIncrementModel::ExponentialIncrementModel(const BOOM::{anonymous}::EIM&)’:
Models/ExponentialIncrementModel.cpp:51:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ExponentialModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
51 | for (int i = 0; i < rhs.models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
Models/ExponentialIncrementModel.cpp: In member function ‘virtual double BOOM::ExponentialIncrementModel::logp(const BOOM::Vector&) const’:
Models/ExponentialIncrementModel.cpp:96:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ExponentialModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
96 | for (int i = 0; i < models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/ExponentialIncrementModel.cpp: In member function ‘virtual BOOM::Vector BOOM::ExponentialIncrementModel::sim(BOOM::RNG&) const’:
Models/ExponentialIncrementModel.cpp:106:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ExponentialModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
106 | for (int i = 0; i < models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/ExponentialModel.cpp -o Models/ExponentialModel.o
In file included from ../inst/include/Models/ExponentialModel.hpp:28,
from Models/ExponentialModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::ExpSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::ExpSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/ExponentialModel.cpp:109:31: required from here
109 | EmMixtureComponent(rhs) {}
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/FiniteMixtureModel.cpp -o Models/FiniteMixtureModel.o
Models/FiniteMixtureModel.cpp: In member function ‘double BOOM::EmFiniteMixtureModel::EStep()’:
Models/FiniteMixtureModel.cpp:302:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::Data> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
302 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
In file included from ../inst/include/Models/FiniteMixtureModel.hpp:27,
from Models/FiniteMixtureModel.cpp:20:
../inst/include/Models/Policies/CompositeParamPolicy.hpp: In instantiation of ‘void BOOM::CompositeParamPolicy::set_models(Fwd, Fwd) [with Fwd = __gnu_cxx::__normal_iterator<BOOM::Ptr<BOOM::MixtureComponent>*, std::vector<BOOM::Ptr<BOOM::MixtureComponent> > >]’:
Models/FiniteMixtureModel.cpp:159:28: required from here
159 | ParamPolicy::set_models(mixture_components_.begin(),
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
160 | mixture_components_.end());
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/CompositeParamPolicy.hpp:74:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::Model> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
74 | for (uint i = 0; i < models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/GammaModel.cpp -o Models/GammaModel.o
Models/GammaModel.cpp: In member function ‘virtual void BOOM::GammaModel::mle()’:
Models/GammaModel.cpp:351:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
351 | for (uint i = 0; i < dat().size(); ++i) {
| ~~^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GammaModel.hpp:29,
from Models/GammaModel.cpp:19:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::GammaSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::GammaSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/GammaModel.hpp:76:9: required from here
76 | class GammaModelBase // Gamma Model, Chi-Square Model, Scaled Chi-Square
| ^~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/GaussianModel.cpp -o Models/GaussianModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/GaussianModelBase.cpp -o Models/GaussianModelBase.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/GaussianModel.hpp:22,
from Models/GaussianModel.cpp:19:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from Models/GaussianModelBase.cpp:19:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GaussianModelBase.hpp:27:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:82:9: required from here
82 | class GaussianModelBase
| ^~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
In file included from ../inst/include/Models/GaussianModelBase.hpp:27:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:159:5: required from ‘void BOOM::SufstatDataPolicy<D, S>::set_data_raw(Fwd, Fwd) [with FwdIt = __gnu_cxx::__normal_iterator<const double*, std::vector<double> >; D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’
159 | refresh_suf();
| ^~~~~~~~~~~
Models/GaussianModelBase.cpp:146:29: required from here
146 | DataPolicy::set_data_raw(y.begin(), y.end());
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/GaussianModelGivenSigma.cpp -o Models/GaussianModelGivenSigma.o
In file included from ../inst/include/Models/GaussianModelGivenSigma.hpp:22,
from Models/GaussianModelGivenSigma.cpp:19:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GaussianModelGivenSigma.hpp:29:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GaussianModelGivenSigma.hpp:26:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:82:9: required from here
82 | class GaussianModelBase
| ^~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/IndependentMvnModel.cpp -o Models/IndependentMvnModel.o
In file included from ../inst/include/Models/EmMixtureComponent.hpp:23,
from ../inst/include/Models/IndependentMvnModel.hpp:23,
from Models/IndependentMvnModel.cpp:20:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/IndependentMvnModel.hpp:24:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/IndependentMvnModel.cpp: In member function ‘void BOOM::IndependentMvnSuf::update_raw(const BOOM::Vector&)’:
Models/IndependentMvnModel.cpp:53:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
53 | for (int i = 0; i < y.size(); ++i) {
| ~~^~~~~~~~~~
Models/IndependentMvnModel.cpp: In member function ‘void BOOM::IndependentMvnSuf::add_mixture_data(const BOOM::Vector&, double)’:
Models/IndependentMvnModel.cpp:59:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
59 | for (int i = 0; i < v.size(); ++i) {
| ~~^~~~~~~~~~
Models/IndependentMvnModel.cpp: In member function ‘void BOOM::IndependentMvnSuf::update_expected_value(double, const BOOM::Vector&, const BOOM::Vector&)’:
Models/IndependentMvnModel.cpp:67:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
67 | for (int i = 0; i < expected_sum.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Models/IndependentMvnModel.cpp: In member function ‘void BOOM::IndependentMvnSuf::combine(const BOOM::IndependentMvnSuf&)’:
Models/IndependentMvnModel.cpp:111:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::GaussianSuf>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
111 | for (int i = 0; i < suf_.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/IndependentMvnModel.cpp: In member function ‘virtual BOOM::Vector BOOM::IndependentMvnSuf::vectorize(bool) const’:
Models/IndependentMvnModel.cpp:119:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::GaussianSuf>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
119 | for (int i = 0; i < suf_.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/IndependentMvnModel.cpp: In member function ‘virtual BOOM::Vector::const_iterator BOOM::IndependentMvnSuf::unvectorize(BOOM::Vector::const_iterator&, bool)’:
Models/IndependentMvnModel.cpp:127:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::GaussianSuf>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | for (int i = 0; i < suf_.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/IndependentMvnModel.cpp: In member function ‘virtual std::ostream& BOOM::IndependentMvnSuf::print(std::ostream&) const’:
Models/IndependentMvnModel.cpp:141:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::GaussianSuf>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | for (int i = 0; i < suf_.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/IndependentMvnModel.cpp: In member function ‘virtual BOOM::Vector BOOM::IndependentMvnBase::sim(BOOM::RNG&) const’:
Models/IndependentMvnModel.cpp:216:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
216 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
In file included from ../inst/include/Models/GaussianModelBase.hpp:27:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::VectorData; S = BOOM::IndependentMvnSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::VectorData; S = BOOM::IndependentMvnSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/IndependentMvnModel.hpp:85:9: required from here
85 | class IndependentMvnBase
| ^~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/IndependentMvnModelGivenScalarSigma.cpp -o Models/IndependentMvnModelGivenScalarSigma.o
In file included from ../inst/include/Models/EmMixtureComponent.hpp:23,
from ../inst/include/Models/IndependentMvnModel.hpp:23,
from ../inst/include/Models/IndependentMvnModelGivenScalarSigma.hpp:23,
from Models/IndependentMvnModelGivenScalarSigma.cpp:20:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/IndependentMvnModel.hpp:24:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/IndependentMvnModelGivenScalarSigma.cpp: In member function ‘virtual double BOOM::IndependentMvnModelGivenScalarSigma::Logp(const BOOM::Vector&, BOOM::Vector&, BOOM::Matrix&, BOOM::uint) const’:
Models/IndependentMvnModelGivenScalarSigma.cpp:59:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
59 | for (int i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/LognormalModel.cpp -o Models/LognormalModel.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/LognormalModel.hpp:23,
from Models/LognormalModel.cpp:20:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/LognormalModel.hpp:24:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GaussianModelBase.hpp:27:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/LognormalModel.hpp:31:9: required from here
31 | class LognormalModel : public ParamPolicy_2<UnivParams, UnivParams>,
| ^~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/LowRankMvnModel.cpp -o Models/LowRankMvnModel.o
In file included from ../inst/include/Models/LowRankMvnModel.hpp:26,
from Models/LowRankMvnModel.cpp:19:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::VectorData; S = BOOM::MvnSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::VectorData; S = BOOM::MvnSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/LowRankMvnModel.cpp:34:24: required from here
34 | PriorPolicy(rhs)
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/MarginallyUniformCorrelationModel.cpp -o Models/MarginallyUniformCorrelationModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/MarkovModel.cpp -o Models/MarkovModel.o
In file included from Models/MarkovModel.cpp:20:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
Models/MarkovModel.cpp: In function ‘BOOM::Ptr<BOOM::TimeSeries<BOOM::MarkovData> > BOOM::make_markov_data(const std::vector<long int>&)’:
Models/MarkovModel.cpp:100:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
100 | for (int i = 0; i < raw_data.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/MarkovModel.cpp: In function ‘BOOM::Ptr<BOOM::TimeSeries<BOOM::MarkovData> > BOOM::make_markov_data(const std::vector<std::__cxx11::basic_string<char> >&)’:
Models/MarkovModel.cpp:119:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
119 | for (int i = 0; i < raw_data.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/MatrixNormalModel.cpp -o Models/MatrixNormalModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/ModelTypes.cpp -o Models/ModelTypes.o
Models/ModelTypes.cpp: In member function ‘virtual void BOOM::Model::unvectorize_params(const BOOM::Vector&, bool)’:
Models/ModelTypes.cpp:58:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::Params> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
58 | for (uint i = 0; i < prm.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/MultinomialModel.cpp -o Models/MultinomialModel.o
Models/MultinomialModel.cpp: In member function ‘virtual void BOOM::MultinomialSuf::Update(const BOOM::CategoricalData&)’:
Models/MultinomialModel.cpp:48:14: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
48 | while (i >= counts_.size()) {
| ~~^~~~~~~~~~~~~~~~~
Models/MultinomialModel.cpp: In function ‘BOOM::uint BOOM::count_levels(const StringVector&)’:
Models/MultinomialModel.cpp:96:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
96 | for (uint i = 0; i < sv.size(); ++i) s.insert(sv[i]);
| ~~^~~~~~~~~~~
Models/MultinomialModel.cpp: In member function ‘double BOOM::MultinomialModel::entropy() const’:
Models/MultinomialModel.cpp:189:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
189 | for (int i = 0; i < probs.size(); ++i) {
| ~~^~~~~~~~~~~~~~
In file included from ../inst/include/Models/MultinomialModel.hpp:26,
from Models/MultinomialModel.cpp:19:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::CategoricalData; S = BOOM::MultinomialSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:145:5: required from ‘void BOOM::SufstatDataPolicy<D, S>::set_data(const DatasetType&) [with D = BOOM::CategoricalData; S = BOOM::MultinomialSuf; DatasetType = std::vector<BOOM::Ptr<BOOM::CategoricalData> >]’
145 | refresh_suf();
| ^~~~~~~~~~~
Models/MultinomialModel.cpp:119:13: required from here
119 | set_data(dvec);
| ~~~~~~~~^~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::CategoricalData> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/MvnBase.cpp -o Models/MvnBase.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/MvnGivenScalarSigma.cpp -o Models/MvnGivenScalarSigma.o
In file included from ../inst/include/Models/MvnGivenScalarSigma.hpp:26,
from Models/MvnGivenScalarSigma.cpp:19:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::VectorData; S = BOOM::MvnSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::VectorData; S = BOOM::MvnSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/MvnGivenScalarSigma.cpp:59:22: required from here
59 | wsp_(rhs.wsp_) {}
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/MvnGivenSigma.cpp -o Models/MvnGivenSigma.o
In file included from ../inst/include/Models/MvnGivenSigma.hpp:25,
from Models/MvnGivenSigma.cpp:19:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::VectorData; S = BOOM::MvnSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::VectorData; S = BOOM::MvnSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/MvnGivenSigma.hpp:29:9: required from here
29 | class MvnGivenSigma : public MvnBase,
| ^~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/MvnModel.cpp -o Models/MvnModel.o
In file included from ../inst/include/Models/MvnModel.hpp:28,
from Models/MvnModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::VectorData; S = BOOM::MvnSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:159:5: required from ‘void BOOM::SufstatDataPolicy<D, S>::set_data_raw(Fwd, Fwd) [with FwdIt = __gnu_cxx::__normal_iterator<const BOOM::Vector*, std::vector<BOOM::Vector> >; D = BOOM::VectorData; S = BOOM::MvnSuf]’
159 | refresh_suf();
| ^~~~~~~~~~~
Models/MvnModel.cpp:80:17: required from here
80 | set_data_raw(data.begin(), data.end());
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/MvtModel.cpp -o Models/MvtModel.o
Models/MvtModel.cpp: In member function ‘void BOOM::MvtModel::Impute(bool, BOOM::RNG&)’:
Models/MvtModel.cpp:157:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::WeightedData<BOOM::VectorData> >, std::allocator<BOOM::Ptr<BOOM::WeightedData<BOOM::VectorData> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
157 | for (uint i = 0; i < V.size(); ++i) {
| ~~^~~~~~~~~~
In file included from ../inst/include/Models/GammaModel.hpp:29,
from ../inst/include/Models/ScaledChisqModel.hpp:23,
from ../inst/include/Models/MvtModel.hpp:27,
from Models/MvtModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::WeightedData<BOOM::VectorData>; S = BOOM::WeightedMvnSuf]’:
Models/MvtModel.cpp:166:21: required from here
166 | mvn->refresh_suf();
| ~~~~~~~~~~~~~~~~^~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::WeightedData<BOOM::VectorData> >, std::allocator<BOOM::Ptr<BOOM::WeightedData<BOOM::VectorData> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::GammaSuf]’:
Models/MvtModel.cpp:167:21: required from here
167 | wgt->refresh_suf();
| ~~~~~~~~~~~~~~~~^~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/ParamTypes.cpp -o Models/ParamTypes.o
Models/ParamTypes.cpp: In function ‘void BOOM::unvectorize(std::vector<Ptr<Params> >&, const Vector&, bool)’:
Models/ParamTypes.cpp:45:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::Params> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
45 | for (uint i = 0; i < pvec.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PoissonGammaModel.cpp -o Models/PoissonGammaModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PoissonModel.cpp -o Models/PoissonModel.o
In file included from ../inst/include/Models/PoissonModel.hpp:26,
from Models/PoissonModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<unsigned int>; S = BOOM::PoissonSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<unsigned int>; S = BOOM::PoissonSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/PoissonModel.cpp:144:24: required from here
144 | NumOptModel(rhs) {}
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<unsigned int> >, std::allocator<BOOM::Ptr<BOOM::UnivData<unsigned int> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PositiveSemidefiniteData.cpp -o Models/PositiveSemidefiniteData.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/ProductDirichletModel.cpp -o Models/ProductDirichletModel.o
In file included from ../inst/include/Models/ProductDirichletModel.hpp:25,
from Models/ProductDirichletModel.cpp:19:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::MatrixData; S = BOOM::ProductDirichletSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::MatrixData; S = BOOM::ProductDirichletSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/ProductDirichletModel.cpp:114:26: required from here
114 | dLoglikeModel(rhs) {}
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::MatrixData>, std::allocator<BOOM::Ptr<BOOM::MatrixData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/ProductVectorModel.cpp -o Models/ProductVectorModel.o
Models/ProductVectorModel.cpp: In constructor ‘BOOM::ProductVectorModel::ProductVectorModel(const std::vector<BOOM::Ptr<BOOM::DoubleModel> >&)’:
Models/ProductVectorModel.cpp:31:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::DoubleModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
31 | for (int i = 0; i < marginals.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Models/ProductVectorModel.cpp: In copy constructor ‘BOOM::ProductVectorModel::ProductVectorModel(const BOOM::ProductVectorModel&)’:
Models/ProductVectorModel.cpp:38:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::DoubleModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
38 | for (int i = 0; i < rhs.marginal_distributions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/ProductVectorModel.cpp: In member function ‘BOOM::ProductVectorModel& BOOM::ProductVectorModel::operator=(const BOOM::ProductVectorModel&)’:
Models/ProductVectorModel.cpp:48:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::DoubleModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
48 | for (int i = 0; i < rhs.marginal_distributions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/ProductVectorModel.cpp: In member function ‘virtual double BOOM::ProductVectorModel::logp(const BOOM::Vector&) const’:
Models/ProductVectorModel.cpp:75:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
75 | for (int i = 0; i < y.size(); ++i) {
| ~~^~~~~~~~~~
Models/ProductVectorModel.cpp: In member function ‘virtual BOOM::Vector BOOM::ProductVectorModel::sim(BOOM::RNG&) const’:
Models/ProductVectorModel.cpp:83:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
Models/ProductVectorModel.cpp: In constructor ‘BOOM::ProductLocationScaleVectorModel::ProductLocationScaleVectorModel(const std::vector<BOOM::Ptr<BOOM::LocationScaleDoubleModel> >&)’:
Models/ProductVectorModel.cpp:95:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LocationScaleDoubleModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | for (int i = 0; i < marginals.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Models/ProductVectorModel.cpp: In copy constructor ‘BOOM::ProductLocationScaleVectorModel::ProductLocationScaleVectorModel(const BOOM::{anonymous}::PLSVM&)’:
Models/ProductVectorModel.cpp:103:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LocationScaleDoubleModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
103 | for (int i = 0; i < rhs.ls_marginal_distributions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/ProductVectorModel.cpp: In member function ‘void BOOM::ProductLocationScaleVectorModel::add_location_scale_model(const BOOM::Ptr<BOOM::LocationScaleDoubleModel>&)’:
Models/ProductVectorModel.cpp:143:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::Params> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
143 | for (int i = 0; i < parameter_vector.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/ProductVectorModel.cpp: In member function ‘void BOOM::ProductLocationScaleVectorModel::refresh_moments() const’:
Models/ProductVectorModel.cpp:158:20: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
158 | if (mu_.size() != dimension) {
| ~~~~~~~~~~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/ScaledChisqModel.cpp -o Models/ScaledChisqModel.o
In file included from ../inst/include/Models/GammaModel.hpp:29,
from ../inst/include/Models/ScaledChisqModel.hpp:23,
from Models/ScaledChisqModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::GammaSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::GammaSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/GammaModel.hpp:76:9: required from here
76 | class GammaModelBase // Gamma Model, Chi-Square Model, Scaled Chi-Square
| ^~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/SpdData.cpp -o Models/SpdData.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/SpdModel.cpp -o Models/SpdModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/SpdParams.cpp -o Models/SpdParams.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Sufstat.cpp -o Models/Sufstat.o
Models/Sufstat.cpp: In function ‘BOOM::Vector BOOM::vectorize(const std::vector<Ptr<Sufstat> >&, bool)’:
Models/Sufstat.cpp:25:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::Sufstat> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
25 | for (uint i = 0; i < v.size(); ++i) {
| ~~^~~~~~~~~~
Models/Sufstat.cpp: In function ‘void BOOM::unvectorize(std::vector<Ptr<Sufstat> >&, const Vector&, bool)’:
Models/Sufstat.cpp:35:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::Sufstat> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
35 | for (uint i = 0; i < svec.size(); ++i) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/TruncatedGammaModel.cpp -o Models/TruncatedGammaModel.o
In file included from ../inst/include/Models/GammaModel.hpp:29,
from ../inst/include/Models/TruncatedGammaModel.hpp:22,
from Models/TruncatedGammaModel.cpp:19:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::GammaSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:145:5: required from ‘void BOOM::SufstatDataPolicy<D, S>::set_data(const DatasetType&) [with D = BOOM::UnivData<double>; S = BOOM::GammaSuf; DatasetType = std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >]’
145 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:143:8: required from here
143 | void SufstatDataPolicy<D, S>::set_data(const DatasetType &d) {
| ^~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/UniformCorrelationModel.cpp -o Models/UniformCorrelationModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/UniformModel.cpp -o Models/UniformModel.o
In file included from ../inst/include/Models/UniformModel.hpp:27,
from Models/UniformModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::UniformSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::UniformSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/UniformModel.cpp:131:25: required from here
131 | LoglikeModel(rhs) {}
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/UniformShrinkagePriorModel.cpp -o Models/UniformShrinkagePriorModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/WeightedGaussianSuf.cpp -o Models/WeightedGaussianSuf.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/WeightedMvnModel.cpp -o Models/WeightedMvnModel.o
In file included from ../inst/include/Models/WeightedMvnModel.hpp:25,
from Models/WeightedMvnModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::WeightedData<BOOM::VectorData>; S = BOOM::WeightedMvnSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::WeightedData<BOOM::VectorData>; S = BOOM::WeightedMvnSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/WeightedMvnModel.cpp:165:25: required from here
165 | LoglikeModel(rhs) {}
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::WeightedData<BOOM::VectorData> >, std::allocator<BOOM::Ptr<BOOM::WeightedData<BOOM::VectorData> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/WishartModel.cpp -o Models/WishartModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/ZeroInflatedGammaModel.cpp -o Models/ZeroInflatedGammaModel.o
In file included from ../inst/include/Models/WishartModel.hpp:26,
from Models/WishartModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::SpdData; S = BOOM::WishartSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::SpdData; S = BOOM::WishartSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/WishartModel.cpp:135:21: required from here
135 | SpdModel(rhs) {}
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::SpdData>, std::allocator<BOOM::Ptr<BOOM::SpdData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/ZeroInflatedLognormalModel.cpp -o Models/ZeroInflatedLognormalModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/ZeroInflatedPoissonModel.cpp -o Models/ZeroInflatedPoissonModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/ZeroMeanGaussianModel.cpp -o Models/ZeroMeanGaussianModel.o
In file included from ../inst/include/Models/EmMixtureComponent.hpp:23,
from ../inst/include/Models/BinomialModel.hpp:23,
from ../inst/include/Models/ZeroInflatedLognormalModel.hpp:23,
from Models/ZeroInflatedLognormalModel.cpp:20:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GaussianModel.hpp:22,
from ../inst/include/Models/ZeroInflatedLognormalModel.hpp:26:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/BinomialModel.hpp:27,
from ../inst/include/Models/ZeroInflatedPoissonModel.hpp:23,
from Models/ZeroInflatedPoissonModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<unsigned int>; S = BOOM::ZeroInflatedPoissonSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<unsigned int>; S = BOOM::ZeroInflatedPoissonSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/ZeroInflatedPoissonModel.cpp:166:37: required from here
166 | log_zero_prob_current_(false) {}
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<unsigned int> >, std::allocator<BOOM::Ptr<BOOM::UnivData<unsigned int> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/ZeroMeanGaussianModel.hpp:22,
from Models/ZeroMeanGaussianModel.cpp:20:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GammaModel.hpp:29:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:82:9: required from here
82 | class GaussianModelBase
| ^~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/ZeroMeanMvnModel.cpp -o Models/ZeroMeanMvnModel.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Policies/CompositeParamPolicy.cpp -o Models/Policies/CompositeParamPolicy.o
In file included from ../inst/include/Models/ZeroMeanMvnModel.hpp:25,
from Models/ZeroMeanMvnModel.cpp:19:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::VectorData; S = BOOM::MvnSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::VectorData; S = BOOM::MvnSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/ZeroMeanMvnModel.hpp:31:9: required from here
31 | class ZeroMeanMvnModel : public MvnBase,
| ^~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
Models/Policies/CompositeParamPolicy.cpp: In member function ‘void BOOM::CompositeParamPolicy::drop_model(const BOOM::Ptr<BOOM::Model>&)’:
Models/Policies/CompositeParamPolicy.cpp:44:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::Params> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
44 | for (uint i = 0; i < tmp.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Policies/ManyParamPolicy.cpp -o Models/Policies/ManyParamPolicy.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Policies/MixtureDataPolicy.cpp -o Models/Policies/MixtureDataPolicy.o
Models/Policies/MixtureDataPolicy.cpp: In member function ‘virtual void BOOM::MixtureDataPolicy::set_data(const DatasetType&)’:
Models/Policies/MixtureDataPolicy.cpp:67:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::Data> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
67 | for (uint i = 0; i < d.size(); ++i) add_data(d[i]);
| ~~^~~~~~~~~~
Models/Policies/MixtureDataPolicy.cpp: In member function ‘virtual void BOOM::MixtureDataPolicy::combine_data(const BOOM::Model&, bool)’:
Models/Policies/MixtureDataPolicy.cpp:140:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::Data> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
140 | for (int i = 0; i < m.dat().size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Policies/NullParamPolicy.cpp -o Models/Policies/NullParamPolicy.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Policies/PriorPolicy.cpp -o Models/Policies/PriorPolicy.o
Models/Policies/PriorPolicy.cpp: In member function ‘virtual void BOOM::PriorPolicy::sample_posterior()’:
Models/Policies/PriorPolicy.cpp:26:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::PosteriorSampler> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
26 | for (uint i = 0; i < samplers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Models/Policies/PriorPolicy.cpp: In member function ‘virtual double BOOM::PriorPolicy::logpri() const’:
Models/Policies/PriorPolicy.cpp:33:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::PosteriorSampler> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
33 | for (uint i = 0; i < samplers_.size(); ++i) ans += samplers_[i]->logpri();
| ~~^~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/AbsorbingMarkovConjSampler.cpp -o Models/PosteriorSamplers/AbsorbingMarkovConjSampler.o
In file included from ../inst/include/Models/PosteriorSamplers/AbsorbingMarkovConjSampler.hpp:24,
from Models/PosteriorSamplers/AbsorbingMarkovConjSampler.cpp:19:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/BetaBinomialPosteriorSampler.cpp -o Models/PosteriorSamplers/BetaBinomialPosteriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/BetaBinomialSampler.cpp -o Models/PosteriorSamplers/BetaBinomialSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/BetaPosteriorSampler.cpp -o Models/PosteriorSamplers/BetaPosteriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/CompositeModelSampler.cpp -o Models/PosteriorSamplers/CompositeModelSampler.o
Models/PosteriorSamplers/CompositeModelSampler.cpp: In member function ‘virtual double BOOM::CompositeModelSampler::logpri() const’:
Models/PosteriorSamplers/CompositeModelSampler.cpp:36:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
36 | for (int i = 0; i < components.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/CompositeModelSampler.cpp: In member function ‘virtual void BOOM::CompositeModelSampler::draw()’:
Models/PosteriorSamplers/CompositeModelSampler.cpp:44:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
44 | for (int i = 0; i < components.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/CompositeSampler.cpp -o Models/PosteriorSamplers/CompositeSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/CorrelationSampler.cpp -o Models/PosteriorSamplers/CorrelationSampler.o
Models/PosteriorSamplers/CorrelationSampler.cpp: In member function ‘virtual void BOOM::MvnCorrelationSampler::draw()’:
Models/PosteriorSamplers/CorrelationSampler.cpp:50:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
50 | for (int i = 0; i < sigma.size(); ++i) {
| ~~^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/DirichletPosteriorSampler.cpp -o Models/PosteriorSamplers/DirichletPosteriorSampler.o
Models/PosteriorSamplers/DirichletPosteriorSampler.cpp: In member function ‘virtual double BOOM::DirichletSampler::DirichletPhiLogPosterior::operator()(const BOOM::Vector&, BOOM::Vector&, BOOM::Matrix&, BOOM::uint) const’:
Models/PosteriorSamplers/DirichletPosteriorSampler.cpp:268:32: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
268 | if (truncated_phi.size() != model_->dim() - 1) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/DirichletPosteriorSampler.cpp:293:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
293 | for (int s = 0; s < truncated_phi.size(); ++s) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/DirichletPosteriorSampler.cpp:300:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
300 | for (int r = 0; r < truncated_phi.size(); ++r) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/DirichletPosteriorSampler.cpp: In member function ‘virtual double BOOM::DirichletSampler::MultinomialLogitLogPosterior::operator()(const BOOM::Vector&, BOOM::Vector&, BOOM::Matrix&, BOOM::uint) const’:
Models/PosteriorSamplers/DirichletPosteriorSampler.cpp:367:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
367 | for (int r = 0; r < phi_gradient.size(); ++r) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/DirichletPosteriorSampler.cpp:368:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
368 | for (int s = 0; s < phi_gradient.size(); ++s) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/DirichletPosteriorSampler.cpp:369:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
369 | for (int t = 0; t < phi_gradient.size(); ++t) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/DirichletPosteriorSampler.cpp: In member function ‘virtual double BOOM::DirichletSampler::LogAlphaLogPosterior::operator()(double, double&, double&, BOOM::uint) const’:
Models/PosteriorSamplers/DirichletPosteriorSampler.cpp:413:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
413 | for (int s = 0; s < phi.size(); ++s) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/ExchangeableDirichletSampler.cpp -o Models/PosteriorSamplers/ExchangeableDirichletSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/ExponentialGammaSampler.cpp -o Models/PosteriorSamplers/ExponentialGammaSampler.o
Models/PosteriorSamplers/ExchangeableDirichletSampler.cpp: In member function ‘virtual double BOOM::ExchangeableDirichletSampler::logpri() const’:
Models/PosteriorSamplers/ExchangeableDirichletSampler.cpp:42:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
42 | for (uint i = 0; i < nu.size(); ++i) ans += pri_->logp(nu[i]);
| ~~^~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/FixedProbBinomialSampler.cpp -o Models/PosteriorSamplers/FixedProbBinomialSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/GammaPosteriorSampler.cpp -o Models/PosteriorSamplers/GammaPosteriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/GaussianConjSampler.cpp -o Models/PosteriorSamplers/GaussianConjSampler.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/PosteriorSamplers/GaussianConjSampler.hpp:23,
from Models/PosteriorSamplers/GaussianConjSampler.cpp:19:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GaussianModelGivenSigma.hpp:29,
from ../inst/include/Models/PosteriorSamplers/GaussianConjSampler.hpp:24:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/GaussianGivenSigmaSampler.cpp -o Models/PosteriorSamplers/GaussianGivenSigmaSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/GaussianMeanSampler.cpp -o Models/PosteriorSamplers/GaussianMeanSampler.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/PosteriorSamplers/GaussianGivenSigmaSampler.hpp:23,
from Models/PosteriorSamplers/GaussianGivenSigmaSampler.cpp:20:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/PosteriorSamplers/GaussianGivenSigmaSampler.hpp:24:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/GaussianModel.hpp:22,
from Models/PosteriorSamplers/GaussianMeanSampler.cpp:21:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/GaussianVarSampler.cpp -o Models/PosteriorSamplers/GaussianVarSampler.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/PosteriorSamplers/GenericGaussianVarianceSampler.hpp:23,
from ../inst/include/Models/PosteriorSamplers/GaussianVarSampler.hpp:22,
from Models/PosteriorSamplers/GaussianVarSampler.cpp:19:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GaussianModel.hpp:22,
from Models/PosteriorSamplers/GaussianVarSampler.cpp:21:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/GenericGaussianVarianceSampler.cpp -o Models/PosteriorSamplers/GenericGaussianVarianceSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/GenericStudentSampler.cpp -o Models/PosteriorSamplers/GenericStudentSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/HierarchicalPosteriorSampler.cpp -o Models/PosteriorSamplers/HierarchicalPosteriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/Imputer.cpp -o Models/PosteriorSamplers/Imputer.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from Models/PosteriorSamplers/Imputer.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/Imputer.cpp: In member function ‘void BOOM::ParallelLatentDataImputer::impute_latent_data()’:
Models/PosteriorSamplers/Imputer.cpp:29:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
29 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/Imputer.cpp:36:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
36 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/Imputer.cpp:41:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::future<void> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
41 | for (int i = 0; i < jobs.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/PosteriorSamplers/Imputer.cpp:58:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
58 | for (int i = 0; i < error_messages.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/IndependentMvnConjSampler.cpp -o Models/PosteriorSamplers/IndependentMvnConjSampler.o
In file included from ../inst/include/Models/EmMixtureComponent.hpp:23,
from ../inst/include/Models/IndependentMvnModel.hpp:23,
from ../inst/include/Models/PosteriorSamplers/IndependentMvnConjSampler.hpp:23,
from Models/PosteriorSamplers/IndependentMvnConjSampler.cpp:20:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/IndependentMvnModel.hpp:24:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/PosteriorSamplers/IndependentMvnConjSampler.cpp: In member function ‘void BOOM::IndependentMvnConjSampler::check_vector_size(const BOOM::Vector&, const char*)’:
Models/PosteriorSamplers/IndependentMvnConjSampler.cpp:106:18: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
106 | if (v.size() != model_->dim()) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/IndependentMvnVarSampler.cpp -o Models/PosteriorSamplers/IndependentMvnVarSampler.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/PosteriorSamplers/IndependentMvnVarSampler.hpp:24,
from Models/PosteriorSamplers/IndependentMvnVarSampler.cpp:20:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/IndependentMvnModel.hpp:24,
from ../inst/include/Models/PosteriorSamplers/IndependentMvnVarSampler.hpp:25:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/PosteriorSamplers/IndependentMvnVarSampler.cpp: In constructor ‘BOOM::IndependentMvnVarSampler::IndependentMvnVarSampler(BOOM::IndependentMvnModel*, const std::vector<BOOM::Ptr<BOOM::GammaModelBase> >&, BOOM::Vector, BOOM::RNG&)’:
Models/PosteriorSamplers/IndependentMvnVarSampler.cpp:33:23: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::GammaModelBase> >::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
33 | if (priors.size() != model->dim()) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
Models/PosteriorSamplers/IndependentMvnVarSampler.cpp:41:30: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
41 | if (sd_max_values.size() != model->dim()) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
Models/PosteriorSamplers/IndependentMvnVarSampler.cpp: In member function ‘virtual BOOM::IndependentMvnVarSampler* BOOM::IndependentMvnVarSampler::clone_to_new_host(BOOM::Model*) const’:
Models/PosteriorSamplers/IndependentMvnVarSampler.cpp:56:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GammaModelBase> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
56 | for (int i = 0; i < priors_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/PosteriorSamplers/IndependentMvnVarSampler.cpp: In member function ‘virtual double BOOM::IndependentMvnVarSampler::logpri() const’:
Models/PosteriorSamplers/IndependentMvnVarSampler.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
70 | for (int i = 0; i < sigsq.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/PosteriorSamplers/IndependentMvnVarSampler.cpp: In member function ‘void BOOM::IndependentMvnVarSampler::set_sigma_max(const BOOM::Vector&)’:
Models/PosteriorSamplers/IndependentMvnVarSampler.cpp:93:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
93 | for (int i = 0; i < sigma_max.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/MarkovConjSampler.cpp -o Models/PosteriorSamplers/MarkovConjSampler.o
In file included from ../inst/include/Models/PosteriorSamplers/MarkovConjSampler.hpp:23,
from Models/PosteriorSamplers/MarkovConjSampler.cpp:20:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/MarkovConjShrinkageSampler.cpp -o Models/PosteriorSamplers/MarkovConjShrinkageSampler.o
In file included from Models/PosteriorSamplers/MarkovConjShrinkageSampler.cpp:21:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/MultinomialDirichletSampler.cpp -o Models/PosteriorSamplers/MultinomialDirichletSampler.o
Models/PosteriorSamplers/MultinomialDirichletSampler.cpp: In constructor ‘BOOM::ConstrainedMultinomialDirichletSampler::ConstrainedMultinomialDirichletSampler(BOOM::MultinomialModel*, const BOOM::Vector&, BOOM::RNG&)’:
Models/PosteriorSamplers/MultinomialDirichletSampler.cpp:76:30: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
76 | if (prior_counts_.size() != model->dim()) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
Models/PosteriorSamplers/MultinomialDirichletSampler.cpp: In member function ‘virtual void BOOM::ConstrainedMultinomialDirichletSampler::draw()’:
Models/PosteriorSamplers/MultinomialDirichletSampler.cpp:95:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/MvnConjSampler.cpp -o Models/PosteriorSamplers/MvnConjSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/MvnIndependentVarianceSampler.cpp -o Models/PosteriorSamplers/MvnIndependentVarianceSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/MvnMeanSampler.cpp -o Models/PosteriorSamplers/MvnMeanSampler.o
Models/PosteriorSamplers/MvnIndependentVarianceSampler.cpp: In constructor ‘BOOM::MvnIndependentVarianceSampler::MvnIndependentVarianceSampler(BOOM::MvnModel*, const std::vector<BOOM::Ptr<BOOM::GammaModelBase> >&, const BOOM::Vector&, BOOM::RNG&)’:
Models/PosteriorSamplers/MvnIndependentVarianceSampler.cpp:33:22: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::GammaModelBase> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
33 | if (model->dim() != siginv_priors.size()) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/MvnIndependentVarianceSampler.cpp:39:22: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
39 | if (model->dim() != sigma_max_values.size()) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/MvnIndependentVarianceSampler.cpp: In member function ‘virtual BOOM::MvnIndependentVarianceSampler* BOOM::MvnIndependentVarianceSampler::clone_to_new_host(BOOM::Model*) const’:
Models/PosteriorSamplers/MvnIndependentVarianceSampler.cpp:65:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GammaModelBase> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
65 | for (int i = 0; i < priors_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/PosteriorSamplers/MvnIndependentVarianceSampler.cpp: In member function ‘virtual double BOOM::MvnIndependentVarianceSampler::logpri() const’:
Models/PosteriorSamplers/MvnIndependentVarianceSampler.cpp:92:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GammaModelBase> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
92 | for (int i = 0; i < priors_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/MvnVarSampler.cpp -o Models/PosteriorSamplers/MvnVarSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/PoissonGammaPosteriorSampler.cpp -o Models/PosteriorSamplers/PoissonGammaPosteriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/PoissonGammaSampler.cpp -o Models/PosteriorSamplers/PoissonGammaSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/PosteriorSampler.cpp -o Models/PosteriorSamplers/PosteriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/ProductDirichletPosteriorSampler.cpp -o Models/PosteriorSamplers/ProductDirichletPosteriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/SepStratSampler.cpp -o Models/PosteriorSamplers/SepStratSampler.o
Models/PosteriorSamplers/ProductDirichletPosteriorSampler.cpp: In member function ‘virtual BOOM::PDPS* BOOM::ProductDirichletPosteriorSampler::clone_to_new_host(BOOM::Model*) const’:
Models/PosteriorSamplers/ProductDirichletPosteriorSampler.cpp:31:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VectorModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
31 | for (int i = 0; i < phi_row_prior_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/SepStratSampler.cpp: In member function ‘double BOOM::SepStratSampler::logprior(const BOOM::SpdMatrix&) const’:
Models/PosteriorSamplers/SepStratSampler.cpp:164:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
164 | for (int i = 0; i < sd_.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/SharedSigsqSampler.cpp -o Models/PosteriorSamplers/SharedSigsqSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/ZeroInflatedGammaPosteriorSampler.cpp -o Models/PosteriorSamplers/ZeroInflatedGammaPosteriorSampler.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/PosteriorSamplers/SharedSigsqSampler.hpp:20,
from Models/PosteriorSamplers/SharedSigsqSampler.cpp:20:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/PosteriorSamplers/SharedSigsqSampler.hpp:21:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/PosteriorSamplers/SharedSigsqSampler.cpp: In member function ‘virtual void BOOM::SharedSigsqSampler::draw()’:
Models/PosteriorSamplers/SharedSigsqSampler.cpp:40:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::GaussianModelBase*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
40 | for (uint i = 0; i < models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/ZeroInflatedLognormalPosteriorSampler.cpp -o Models/PosteriorSamplers/ZeroInflatedLognormalPosteriorSampler.o
In file included from ../inst/include/Models/EmMixtureComponent.hpp:23,
from ../inst/include/Models/BinomialModel.hpp:23,
from ../inst/include/Models/ZeroInflatedLognormalModel.hpp:23,
from Models/PosteriorSamplers/ZeroInflatedLognormalPosteriorSampler.cpp:20:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GaussianModel.hpp:22,
from ../inst/include/Models/ZeroInflatedLognormalModel.hpp:26:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/ZeroInflatedPoissonSampler.cpp -o Models/PosteriorSamplers/ZeroInflatedPoissonSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/ZeroMeanGaussianConjSampler.cpp -o Models/PosteriorSamplers/ZeroMeanGaussianConjSampler.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/PosteriorSamplers/GenericGaussianVarianceSampler.hpp:23,
from ../inst/include/Models/PosteriorSamplers/ZeroMeanGaussianConjSampler.hpp:22,
from Models/PosteriorSamplers/ZeroMeanGaussianConjSampler.cpp:20:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23,
from Models/PosteriorSamplers/ZeroMeanGaussianConjSampler.cpp:23:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/ZeroMeanMvnConjSampler.cpp -o Models/PosteriorSamplers/ZeroMeanMvnConjSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PosteriorSamplers/ZeroMeanMvnIndependenceSampler.cpp -o Models/PosteriorSamplers/ZeroMeanMvnIndependenceSampler.o
Models/PosteriorSamplers/ZeroMeanMvnIndependenceSampler.cpp: In constructor ‘BOOM::ZeroMeanMvnCompositeIndependenceSampler::ZeroMeanMvnCompositeIndependenceSampler(BOOM::ZeroMeanMvnModel*, const std::vector<BOOM::Ptr<BOOM::GammaModelBase> >&, const BOOM::Vector&, BOOM::RNG&)’:
Models/PosteriorSamplers/ZeroMeanMvnIndependenceSampler.cpp:84:23: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::GammaModelBase> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
84 | if (model_->dim() != priors_.size()) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/ZeroMeanMvnIndependenceSampler.cpp:91:23: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
91 | if (model_->dim() != sigma_upper_truncation_points.size()) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/ZeroMeanMvnIndependenceSampler.cpp:98:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
98 | for (int i = 0; i < sigma_upper_truncation_points.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PosteriorSamplers/ZeroMeanMvnIndependenceSampler.cpp:109:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GammaModelBase> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
109 | for (int i = 0; i < priors_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/Brent.cpp -o numopt/Brent.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/Integral.cpp -o numopt/Integral.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/LinearAssignment.cpp -o numopt/LinearAssignment.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/MarkovDecisionProcess.cpp -o numopt/MarkovDecisionProcess.o
numopt/Integral.cpp: In member function ‘void BOOM::Integral::set_work_vector_size(int)’:
numopt/Integral.cpp:2331:27: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2331 | if (4 * iwork_.size() < lenw) {
| ~~~~~~~~~~~~~~~~~~^~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/Negate.cpp -o numopt/Negate.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/NelderMead.cpp -o numopt/NelderMead.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/NumericalDerivatives.cpp -o numopt/NumericalDerivatives.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/Powell.cpp -o numopt/Powell.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/Qlearning.cpp -o numopt/Qlearning.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/ScalarLaplaceApproximation.cpp -o numopt/ScalarLaplaceApproximation.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/ScalarNewtonMax.cpp -o numopt/ScalarNewtonMax.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/bfgs.cpp -o numopt/bfgs.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/conj_grad.cpp -o numopt/conj_grad.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/initialize_derivatives.cpp -o numopt/initialize_derivatives.o
numopt/initialize_derivatives.cpp: In function ‘void BOOM::initialize_derivatives(Vector*, Matrix*, int, bool)’:
numopt/initialize_derivatives.cpp:38:40: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
38 | if (gradient && gradient->size() != dimension) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/max_nd.cpp -o numopt/max_nd.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/nelder_mead.cpp -o numopt/nelder_mead.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/newton.cpp -o numopt/newton.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c numopt/simulated_annealing.cpp -o numopt/simulated_annealing.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Nnet/GaussianFeedForwardNeuralNetwork.cpp -o Models/Nnet/GaussianFeedForwardNeuralNetwork.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Nnet/Nnet.cpp -o Models/Nnet/Nnet.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp -o Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/Nnet/PosteriorSamplers/HiddenLayerImputer.cpp -o Models/Nnet/PosteriorSamplers/HiddenLayerImputer.o
In file included from ../inst/include/Models/Nnet/GaussianFeedForwardNeuralNetwork.hpp:21,
from Models/Nnet/GaussianFeedForwardNeuralNetwork.cpp:19:
../inst/include/Models/Nnet/Nnet.hpp: In function ‘void BOOM::Nnet::to_binary(const BOOM::Vector&, std::vector<bool>&)’:
../inst/include/Models/Nnet/Nnet.hpp:40:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
40 | for (int i = 0; i < numeric.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
In file included from Models/Nnet/Nnet.cpp:19:
../inst/include/Models/Nnet/Nnet.hpp: In function ‘void BOOM::Nnet::to_binary(const BOOM::Vector&, std::vector<bool>&)’:
../inst/include/Models/Nnet/Nnet.hpp:40:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
40 | for (int i = 0; i < numeric.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/Nnet/Nnet.cpp: In copy constructor ‘BOOM::HiddenLayer::HiddenLayer(const BOOM::HiddenLayer&)’:
Models/Nnet/Nnet.cpp:37:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialLogitModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
37 | for (int i = 0; i < rhs.models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
Models/Nnet/Nnet.cpp: In member function ‘BOOM::HiddenLayer& BOOM::HiddenLayer::operator=(const BOOM::HiddenLayer&)’:
Models/Nnet/Nnet.cpp:46:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialLogitModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
46 | for (int i = 0; i < models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/Nnet/Nnet.cpp: In member function ‘void BOOM::HiddenLayer::predict(const BOOM::Vector&, BOOM::Vector&) const’:
Models/Nnet/Nnet.cpp:62:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
62 | if (inputs.size() != input_dimension() ||
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Models/Nnet/Nnet.cpp:63:24: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
63 | outputs.size() != output_dimension()) {
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
Models/Nnet/Nnet.cpp:68:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
68 | for (int i = 0; i < outputs.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/Nnet/Nnet.cpp: In copy constructor ‘BOOM::FeedForwardNeuralNetwork::FeedForwardNeuralNetwork(const BOOM::{anonymous}::FFNN&)’:
Models/Nnet/Nnet.cpp:85:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::HiddenLayer> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
85 | for (int i = 0; i < rhs.hidden_layers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Nnet/Nnet.cpp: In member function ‘BOOM::{anonymous}::FFNN& BOOM::FeedForwardNeuralNetwork::operator=(const BOOM::{anonymous}::FFNN&)’:
Models/Nnet/Nnet.cpp:95:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::HiddenLayer> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
95 | for (int i = 0; i < rhs.hidden_layers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Nnet/Nnet.cpp: In member function ‘void BOOM::FeedForwardNeuralNetwork::fill_activation_probabilities(const BOOM::Vector&, std::vector<BOOM::Vector>&) const’:
Models/Nnet/Nnet.cpp:129:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::HiddenLayer> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
129 | for (int i = 0; i < hidden_layers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
Models/Nnet/Nnet.cpp: In member function ‘std::vector<BOOM::Vector> BOOM::FeedForwardNeuralNetwork::activation_probability_workspace() const’:
Models/Nnet/Nnet.cpp:137:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::HiddenLayer> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
137 | for (int i = 0; i < hidden_layers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/Nnet/GaussianFeedForwardNeuralNetwork.hpp:21,
from ../inst/include/Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.hpp:21,
from Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp:19:
../inst/include/Models/Nnet/Nnet.hpp: In function ‘void BOOM::Nnet::to_binary(const BOOM::Vector&, std::vector<bool>&)’:
../inst/include/Models/Nnet/Nnet.hpp:40:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
40 | for (int i = 0; i < numeric.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp: In member function ‘void BOOM::GaussianFeedForwardPosteriorSampler::impute_hidden_layer_outputs(BOOM::RNG&)’:
Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp:60:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
60 | for (int i = 0; i < model_->dat().size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp: In function ‘std::pair<double, double> BOOM::summarize_logit_data(const std::vector<Ptr<BinomialRegressionData>, std::allocator<Ptr<BinomialRegressionData> > >&)’:
Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp:84:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
84 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp: In member function ‘double BOOM::GaussianFeedForwardPosteriorSampler::terminal_inputs_log_full_conditional(double, const BOOM::Vector&, const BOOM::Vector&, const BOOM::Vector&) const’:
Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp:136:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
136 | for (int i = 0; i < binary_inputs.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp: In member function ‘void BOOM::GaussianFeedForwardPosteriorSampler::ensure_space_for_latent_data()’:
Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp:148:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
148 | for (int i = 0; i < model_->dat().size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp: In member function ‘void BOOM::GaussianFeedForwardPosteriorSampler::ensure_imputers()’:
Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp:161:29: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::HiddenLayerImputer>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
161 | while (imputers_.size() < model_->number_of_hidden_layers()) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp: In member function ‘void BOOM::GaussianFeedForwardPosteriorSampler::impute_terminal_layer_inputs(BOOM::RNG&, double, std::vector<bool>&, BOOM::Vector&, BOOM::Vector&)’:
Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp:188:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
188 | for (int i = 0; i < logprob.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.cpp:196:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
196 | for (int i = 0; i < terminal_layer_inputs.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PointProcess/BoundedPoissonProcessSimulator.cpp -o Models/PointProcess/BoundedPoissonProcessSimulator.o
In file included from ../inst/include/Models/Nnet/PosteriorSamplers/HiddenLayerImputer.hpp:21,
from Models/Nnet/PosteriorSamplers/HiddenLayerImputer.cpp:19:
../inst/include/Models/Nnet/Nnet.hpp: In function ‘void BOOM::Nnet::to_binary(const BOOM::Vector&, std::vector<bool>&)’:
../inst/include/Models/Nnet/Nnet.hpp:40:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
40 | for (int i = 0; i < numeric.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/Nnet/PosteriorSamplers/HiddenLayerImputer.cpp: In member function ‘void BOOM::HiddenLayerImputer::impute_inputs(BOOM::RNG&, BOOM::Nnet::HiddenNodeValues&, BOOM::Vector&, BOOM::Vector&, BOOM::Vector&)’:
Models/Nnet/PosteriorSamplers/HiddenLayerImputer.cpp:41:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
41 | for (int i = 0; i < allocation_probs.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/Nnet/PosteriorSamplers/HiddenLayerImputer.cpp:50:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
50 | for (int i = 0; i < input_workspace.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
Models/Nnet/PosteriorSamplers/HiddenLayerImputer.cpp: In member function ‘double BOOM::HiddenLayerImputer::input_full_conditional(const BOOM::Vector&, const std::vector<bool>&, const BOOM::Vector&, const BOOM::Vector&) const’:
Models/Nnet/PosteriorSamplers/HiddenLayerImputer.cpp:80:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<bool>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
80 | for (int node = 0; node < outputs.size(); ++node) {
| ~~~~~^~~~~~~~~~~~~~~~
Models/Nnet/PosteriorSamplers/HiddenLayerImputer.cpp:84:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
84 | for (int i = 0; i < inputs.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/Nnet/PosteriorSamplers/HiddenLayerImputer.cpp: In member function ‘void BOOM::HiddenLayerImputer::clear_latent_data()’:
Models/Nnet/PosteriorSamplers/HiddenLayerImputer.cpp:107:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
107 | for (int i = 0; i < latent_data.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
Models/Nnet/PosteriorSamplers/HiddenLayerImputer.cpp: In member function ‘void BOOM::HiddenLayerImputer::store_latent_data(BOOM::Nnet::HiddenNodeValues&)’:
Models/Nnet/PosteriorSamplers/HiddenLayerImputer.cpp:126:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
126 | for (int i = 0; i < data_row.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/Nnet/PosteriorSamplers/HiddenLayerImputer.cpp: In member function ‘void BOOM::HiddenLayerImputer::store_initial_layer_latent_data(const std::vector<bool>&, const BOOM::Ptr<BOOM::GlmBaseData>&)’:
Models/Nnet/PosteriorSamplers/HiddenLayerImputer.cpp:186:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
186 | for (int i = 0; i < data_row.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PointProcess/CosinePoissonProcess.cpp -o Models/PointProcess/CosinePoissonProcess.o
Models/PointProcess/BoundedPoissonProcessSimulator.cpp: In member function ‘BOOM::PointProcess BOOM::BoundedPoissonProcessSimulator::simulate(BOOM::RNG&, const BOOM::DateTime&, const BOOM::DateTime&, const std::function<BOOM::Data*()>&) const’:
Models/PointProcess/BoundedPoissonProcessSimulator.cpp:39:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
39 | for (int i = 0; i < times.size(); ++i) {
| ~~^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PointProcess/HomogeneousPoissonProcess.cpp -o Models/PointProcess/HomogeneousPoissonProcess.o
In file included from ../inst/include/Models/PointProcess/HomogeneousPoissonProcess.hpp:27,
from Models/PointProcess/HomogeneousPoissonProcess.cpp:18:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::PointProcess; S = BOOM::PoissonProcessSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::PointProcess; S = BOOM::PoissonProcessSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/PointProcess/HomogeneousPoissonProcess.hpp:66:9: required from here
66 | class HomogeneousPoissonProcess
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::PointProcess>, std::allocator<BOOM::Ptr<BOOM::PointProcess> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PointProcess/MarkovModulatedPoissonProcess.cpp -o Models/PointProcess/MarkovModulatedPoissonProcess.o
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In function ‘std::vector<BOOM::PoissonProcess*> BOOM::{anonymous}::dumb(const std::vector<BOOM::Ptr<BOOM::PoissonProcess> >&)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:72:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonProcess> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
72 | for (int i = 0; i < arg.size(); ++i) {
| ~~^~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In constructor ‘BOOM::MmppHelper::ProcessInfo::ProcessInfo(const std::vector<BOOM::PoissonProcess*>&, const std::vector<BOOM::MixtureComponent*>&)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:211:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PoissonProcess*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
211 | for (int i = 0; i < processes_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:236:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PoissonProcess*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
236 | for (int i = 0; i < processes.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:240:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PoissonProcess*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
240 | for (int i = 0; i < processes_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘void BOOM::MmppHelper::ProcessInfo::evaluate(const BOOM::PointProcess&, const BOOM::MmppHelper::SourceVector&)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:283:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PoissonProcess*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
283 | for (int i = 0; i < processes_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:296:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::MixtureComponent*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
296 | for (int i = 0; i < minimal_mixture_components_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘double BOOM::MmppHelper::ProcessInfo::conditional_cumulative_hazard(const BOOM::MmppHelper::HmmState*, int) const’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:332:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PoissonProcess*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
332 | for (int i = 0; i < processes.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘void BOOM::MarkovModulatedPoissonProcess::add_component_process(const BOOM::Ptr<BOOM::PoissonProcess>&, std::vector<BOOM::Ptr<BOOM::PoissonProcess> >, std::vector<BOOM::Ptr<BOOM::PoissonProcess> >, const BOOM::Ptr<BOOM::MixtureComponent>&)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:404:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonProcess> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
404 | for (int i = 0; i < spawns.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:407:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonProcess> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
407 | for (int i = 0; i < kills.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘void BOOM::MarkovModulatedPoissonProcess::make_hmm_states(const std::vector<BOOM::Ptr<BOOM::PoissonProcess> >&)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:439:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MmppHelper::HmmState> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
439 | for (int i = 0; i < hmm_states_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:451:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MmppHelper::HmmState> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
451 | for (int i = 0; i < hmm_states_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘void BOOM::MarkovModulatedPoissonProcess::add_supervised_data(const BOOM::Ptr<BOOM::PointProcess>&, const SourceVector&)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:490:32: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<std::vector<BOOM::PoissonProcess*> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
490 | if (dp->number_of_events() != source.size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘void BOOM::MarkovModulatedPoissonProcess::clear_client_data()’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:516:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonProcess> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
516 | for (int i = 0; i < component_processes_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:519:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
519 | for (int i = 0; i < mixture_components_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘virtual double BOOM::MarkovModulatedPoissonProcess::impute_latent_data(BOOM::RNG&)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:532:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PointProcess>, std::allocator<BOOM::Ptr<BOOM::PointProcess> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
532 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘void BOOM::MarkovModulatedPoissonProcess::burn()’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:544:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
544 | for (int i = 0; i < probability_of_responsibility_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:547:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
547 | for (int i = 0; i < probability_of_activity_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘void BOOM::MarkovModulatedPoissonProcess::sample_complete_data_posterior()’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:553:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonProcess> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
553 | for (int i = 0; i < component_processes_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:557:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
557 | for (int i = 0; i < mixture_components_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘virtual double BOOM::MarkovModulatedPoissonProcess::logpri() const’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:569:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonProcess> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
569 | for (int i = 0; i < component_processes_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:573:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
573 | for (int i = 0; i < mixture_components_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘double BOOM::MarkovModulatedPoissonProcess::filter(const BOOM::PointProcess&, const SourceVector&)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:602:38: warning: comparison of integer expressions of different signedness: ‘std::vector<std::vector<BOOM::PoissonProcess*> >::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
602 | if (have_source && source.size() != process.number_of_events()) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘void BOOM::MarkovModulatedPoissonProcess::update_exposure_time(const BOOM::PointProcess&, int, int)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:812:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PoissonProcess*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
812 | for (int i = 0; i < active_processes.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘int BOOM::MarkovModulatedPoissonProcess::draw_previous_state(BOOM::RNG&, int, int)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:833:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::MmppHelper::HmmState*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
833 | for (int i = 0; i < potential_values.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘BOOM::PoissonProcess* BOOM::MarkovModulatedPoissonProcess::sample_responsible_process(BOOM::RNG&, int, int, const ProcessInfo&, int)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:867:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PoissonProcess*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
867 | for (int i = 0; i < potential_culprits.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘void BOOM::MarkovModulatedPoissonProcess::record_activity(BOOM::VectorView, int)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:894:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PoissonProcess*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
894 | for (int s = 0; s < active_processes.size(); ++s) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘void BOOM::MarkovModulatedPoissonProcess::check_that_all_processes_have_been_registered()’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:911:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonProcess> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
911 | for (int i = 0; i < component_processes_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘void BOOM::MarkovModulatedPoissonProcess::check_for_new_process(const BOOM::Ptr<BOOM::PoissonProcess>&)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:936:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonProcess> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
936 | for (int i = 0; i < component_processes_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘void BOOM::MarkovModulatedPoissonProcess::check_for_new_mixture_component(const BOOM::Ptr<BOOM::MixtureComponent>&)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:952:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MixtureComponent> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
952 | for (int i = 0; i < mixture_components_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘BOOM::Ptr<BOOM::MmppHelper::HmmState> BOOM::MarkovModulatedPoissonProcess::check_for_new_hmm_state(const BOOM::Ptr<BOOM::MmppHelper::HmmState>&)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:966:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MmppHelper::HmmState> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
966 | for (int i = 0; i < hmm_states_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp: In member function ‘double BOOM::MarkovModulatedPoissonProcess::initialize_filter(const BOOM::PointProcess&)’:
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:1018:21: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
1018 | if (one_.size() != S) {
| ~~~~~~~~~~~~^~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:1023:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1023 | while (filter_.size() < data.number_of_events()) {
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/MarkovModulatedPoissonProcess.cpp:1029:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1029 | for (int i = 0; i < filter_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PointProcess/PointProcess.cpp -o Models/PointProcess/PointProcess.o
Models/PointProcess/PointProcess.cpp: In constructor ‘BOOM::PointProcess::PointProcess(const std::vector<BOOM::DateTime>&, const std::vector<BOOM::Ptr<BOOM::Data> >&)’:
Models/PointProcess/PointProcess.cpp:124:22: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::Data> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
124 | if (marks.size() != n) {
| ~~~~~~~~~~~~~^~~~
Models/PointProcess/PointProcess.cpp: In member function ‘void BOOM::PointProcess::check_legal_event_number(int) const’:
Models/PointProcess/PointProcess.cpp:161:39: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PointProcessEvent>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
161 | if (events_.empty() || i < 0 || i >= events_.size()) {
| ~~^~~~~~~~~~~~~~~~~
Models/PointProcess/PointProcess.cpp: In member function ‘double BOOM::PointProcess::arrival_time(int) const’:
Models/PointProcess/PointProcess.cpp:225:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PointProcessEvent>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
225 | if (i == events_.size()) return end_ - events_.back().timestamp();
| ~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PointProcess/PoissonClusterProcess.cpp -o Models/PointProcess/PoissonClusterProcess.o
Models/PointProcess/PoissonClusterProcess.cpp: In member function ‘virtual void BOOM::PoissonClusterProcess::clear_client_data()’:
Models/PointProcess/PoissonClusterProcess.cpp:174:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
174 | for (int i = 0; i < probability_of_activity_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/PoissonClusterProcess.cpp: In member function ‘void BOOM::PoissonClusterProcess::impute_latent_data(BOOM::RNG&)’:
Models/PointProcess/PoissonClusterProcess.cpp:187:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PointProcess>, std::allocator<BOOM::Ptr<BOOM::PointProcess> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
187 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/PointProcess/PoissonClusterProcess.cpp: In member function ‘double BOOM::PoissonClusterProcess::conditional_cumulative_hazard(const BOOM::DateTime&, const BOOM::DateTime&, int) const’:
Models/PointProcess/PoissonClusterProcess.cpp:251:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PoissonProcess*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
251 | for (int i = 0; i < active.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/PointProcess/PoissonClusterProcess.cpp: In member function ‘double BOOM::PoissonClusterProcess::initialize_filter(const BOOM::PointProcess&)’:
Models/PointProcess/PoissonClusterProcess.cpp:289:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
289 | while (filter_.size() < data.number_of_events()) {
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/PoissonClusterProcess.cpp:295:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
295 | for (int i = 0; i < filter_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/PointProcess/PoissonClusterProcess.cpp: In member function ‘double BOOM::PoissonClusterProcess::fwd_1(const BOOM::PointProcess&, int, int)’:
Models/PointProcess/PoissonClusterProcess.cpp:329:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
329 | for (int ss = 0; ss < target.size(); ++ss) {
| ~~~^~~~~~~~~~~~~~~
Models/PointProcess/PoissonClusterProcess.cpp: In member function ‘std::vector<BOOM::PoissonProcess*> BOOM::PoissonClusterProcess::subset_matching_source(std::vector<BOOM::PoissonProcess*>&, int)’:
Models/PointProcess/PoissonClusterProcess.cpp:484:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PoissonProcess*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
484 | for (int i = 0; i < candidates.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/PointProcess/PoissonClusterProcess.cpp: In member function ‘std::vector<const BOOM::PoissonProcess*> BOOM::PoissonClusterProcess::subset_matching_source(const std::vector<BOOM::PoissonProcess*>&, int) const’:
Models/PointProcess/PoissonClusterProcess.cpp:503:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PoissonProcess*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
503 | for (int i = 0; i < candidates.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/PointProcess/PoissonClusterProcess.cpp: In member function ‘void BOOM::PoissonClusterProcess::update_exposure_time(const BOOM::PointProcess&, int, int, int)’:
Models/PointProcess/PoissonClusterProcess.cpp:588:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PoissonProcess*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
588 | for (int process = 0; process < running.size(); ++process) {
| ~~~~~~~~^~~~~~~~~~~~~~~~
Models/PointProcess/PoissonClusterProcess.cpp: In member function ‘void BOOM::PoissonClusterProcess::add_supervised_data(const BOOM::Ptr<BOOM::PointProcess>&, const std::vector<int>&)’:
Models/PointProcess/PoissonClusterProcess.cpp:622:32: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
622 | if (dp->number_of_events() != source.size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/PointProcess/PoissonClusterProcess.cpp:630:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
630 | for (int i = 0; i < source.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/PointProcess/PoissonClusterProcess.cpp: In member function ‘virtual BOOM::PointProcess BOOM::PoissonClusterProcess::simulate(BOOM::RNG&, const BOOM::DateTime&, const BOOM::DateTime&, std::function<BOOM::Data*()>, std::function<BOOM::Data*()>) const’:
Models/PointProcess/PoissonClusterProcess.cpp:671:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::PoissonProcess*>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
671 | for (int p = 0; p < all_processes.size(); ++p) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
Models/PointProcess/PoissonClusterProcess.cpp: In member function ‘void BOOM::PoissonClusterProcess::record_activity_distribution(BOOM::VectorView, const BOOM::Matrix&)’:
Models/PointProcess/PoissonClusterProcess.cpp:726:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
726 | for (int r = 0; r < wsp_.size(); ++r) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PointProcess/WeeklyCyclePoissonProcess.cpp -o Models/PointProcess/WeeklyCyclePoissonProcess.o
Models/PointProcess/WeeklyCyclePoissonProcess.cpp: In member function ‘virtual BOOM::PointProcess BOOM::WeeklyCyclePoissonProcess::simulate(BOOM::RNG&, const BOOM::DateTime&, const BOOM::DateTime&, std::function<BOOM::Data*()>) const’:
Models/PointProcess/WeeklyCyclePoissonProcess.cpp:419:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
419 | for (int i = 0; i < times.size(); ++i) {
| ~~^~~~~~~~~~~~~~
In file included from ../inst/include/Models/PointProcess/WeeklyCyclePoissonProcess.hpp:26,
from Models/PointProcess/WeeklyCyclePoissonProcess.cpp:19:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::PointProcess; S = BOOM::WeeklyCyclePoissonSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::PointProcess; S = BOOM::WeeklyCyclePoissonSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/PointProcess/WeeklyCyclePoissonProcess.hpp:77:9: required from here
77 | class WeeklyCyclePoissonProcess
| ^~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::PointProcess>, std::allocator<BOOM::Ptr<BOOM::PointProcess> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PointProcess/PosteriorSamplers/HomogPoissonProcessPosteriorSampler.cpp -o Models/PointProcess/PosteriorSamplers/HomogPoissonProcessPosteriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PointProcess/PosteriorSamplers/MmppPosteriorSampler.cpp -o Models/PointProcess/PosteriorSamplers/MmppPosteriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/PointProcess/PosteriorSamplers/WeeklyCyclePoissonProcessSampler.cpp -o Models/PointProcess/PosteriorSamplers/WeeklyCyclePoissonProcessSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/bd0.cpp -o Bmath/bd0.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/bessel_k.cpp -o Bmath/bessel_k.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/beta.cpp -o Bmath/beta.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/chebyshev.cpp -o Bmath/chebyshev.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/choose.cpp -o Bmath/choose.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/d1mach.cpp -o Bmath/d1mach.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dbeta.cpp -o Bmath/dbeta.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dbinom.cpp -o Bmath/dbinom.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dcauchy.cpp -o Bmath/dcauchy.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dchisq.cpp -o Bmath/dchisq.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dexp.cpp -o Bmath/dexp.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/df.cpp -o Bmath/df.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dgamma.cpp -o Bmath/dgamma.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dgeom.cpp -o Bmath/dgeom.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dhyper.cpp -o Bmath/dhyper.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dlnorm.cpp -o Bmath/dlnorm.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dlogis.cpp -o Bmath/dlogis.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dnbeta.cpp -o Bmath/dnbeta.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dnbinom.cpp -o Bmath/dnbinom.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dnchisq.cpp -o Bmath/dnchisq.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dnorm.cpp -o Bmath/dnorm.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dpois.cpp -o Bmath/dpois.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dt.cpp -o Bmath/dt.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dunif.cpp -o Bmath/dunif.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/dweibull.cpp -o Bmath/dweibull.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/fprec.cpp -o Bmath/fprec.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/fround.cpp -o Bmath/fround.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/fsign.cpp -o Bmath/fsign.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/ftrunc.cpp -o Bmath/ftrunc.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/gamma_cody.cpp -o Bmath/gamma_cody.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/gammalims.cpp -o Bmath/gammalims.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/i1mach.cpp -o Bmath/i1mach.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/lbeta.cpp -o Bmath/lbeta.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/lgammacor.cpp -o Bmath/lgammacor.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/mathlib_error.cpp -o Bmath/mathlib_error.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/mlutils.cpp -o Bmath/mlutils.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pbeta.cpp -o Bmath/pbeta.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pbinom.cpp -o Bmath/pbinom.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pcauchy.cpp -o Bmath/pcauchy.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pchisq.cpp -o Bmath/pchisq.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pexp.cpp -o Bmath/pexp.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pf.cpp -o Bmath/pf.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pgamma.cpp -o Bmath/pgamma.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pgeom.cpp -o Bmath/pgeom.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/phyper.cpp -o Bmath/phyper.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/plnorm.cpp -o Bmath/plnorm.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/plogis.cpp -o Bmath/plogis.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pnbeta.cpp -o Bmath/pnbeta.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pnbinom.cpp -o Bmath/pnbinom.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pnchisq.cpp -o Bmath/pnchisq.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pnf.cpp -o Bmath/pnf.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pnorm.cpp -o Bmath/pnorm.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pnt.cpp -o Bmath/pnt.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/polygamma.cpp -o Bmath/polygamma.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/ppois.cpp -o Bmath/ppois.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pt.cpp -o Bmath/pt.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/ptukey.cpp -o Bmath/ptukey.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/punif.cpp -o Bmath/punif.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/pweibull.cpp -o Bmath/pweibull.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qbeta.cpp -o Bmath/qbeta.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qbinom.cpp -o Bmath/qbinom.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qcauchy.cpp -o Bmath/qcauchy.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qchisq.cpp -o Bmath/qchisq.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qexp.cpp -o Bmath/qexp.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qf.cpp -o Bmath/qf.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qgamma.cpp -o Bmath/qgamma.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qgeom.cpp -o Bmath/qgeom.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qhyper.cpp -o Bmath/qhyper.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qlnorm.cpp -o Bmath/qlnorm.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qlogis.cpp -o Bmath/qlogis.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qnbinom.cpp -o Bmath/qnbinom.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qnchisq.cpp -o Bmath/qnchisq.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qnorm.cpp -o Bmath/qnorm.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qpois.cpp -o Bmath/qpois.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qt.cpp -o Bmath/qt.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qtukey.cpp -o Bmath/qtukey.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qunif.cpp -o Bmath/qunif.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/qweibull.cpp -o Bmath/qweibull.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rbeta.cpp -o Bmath/rbeta.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rbinom.cpp -o Bmath/rbinom.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rcauchy.cpp -o Bmath/rcauchy.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rchisq.cpp -o Bmath/rchisq.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rexp.cpp -o Bmath/rexp.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rf.cpp -o Bmath/rf.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rgamma.cpp -o Bmath/rgamma.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rgeom.cpp -o Bmath/rgeom.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rhyper.cpp -o Bmath/rhyper.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rlnorm.cpp -o Bmath/rlnorm.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rloggamma_small_alpha.cpp -o Bmath/rloggamma_small_alpha.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rlogis.cpp -o Bmath/rlogis.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rmultinom.cpp -o Bmath/rmultinom.o
Bmath/rmultinom.cpp: In function ‘void Rmath::rmultinom_mt(BOOM::RNG&, int, const std::vector<double>&, std::vector<int>&)’:
Bmath/rmultinom.cpp:91:17: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
91 | if(rN.size()!=K) rN.resize(K);
| ~~~~~~~~~^~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rnbinom.cpp -o Bmath/rnbinom.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rnchisq.cpp -o Bmath/rnchisq.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rnorm.cpp -o Bmath/rnorm.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rpois.cpp -o Bmath/rpois.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rt.cpp -o Bmath/rt.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/runif.cpp -o Bmath/runif.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/rweibull.cpp -o Bmath/rweibull.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/sexp.cpp -o Bmath/sexp.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/sign.cpp -o Bmath/sign.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/snorm.cpp -o Bmath/snorm.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/stirlerr.cpp -o Bmath/stirlerr.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/toms708.cpp -o Bmath/toms708.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Bmath/unif_rand.cpp -o Bmath/unif_rand.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/ARMS.cpp -o Samplers/ARMS.o
Samplers/ARMS.cpp: In member function ‘virtual BOOM::Vector BOOM::ArmsSampler::draw(const BOOM::Vector&)’:
Samplers/ARMS.cpp:59:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
59 | for (uint i = 0; i < x_.size(); ++i) {
| ~~^~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/DirectProposal.cpp -o Samplers/DirectProposal.o
In file included from ../inst/include/Models/MvnModel.hpp:28,
from ../inst/include/Samplers/DirectProposal.hpp:23,
from Samplers/DirectProposal.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::VectorData; S = BOOM::MvnSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:145:5: required from ‘void BOOM::SufstatDataPolicy<D, S>::set_data(const DatasetType&) [with D = BOOM::VectorData; S = BOOM::MvnSuf; DatasetType = std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >]’
145 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:143:8: required from here
143 | void SufstatDataPolicy<D, S>::set_data(const DatasetType &d) {
| ^~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/ImportanceResampler.cpp -o Samplers/ImportanceResampler.o
Samplers/ImportanceResampler.cpp: In member function ‘std::pair<BOOM::Matrix, BOOM::Vector> BOOM::ImportanceResampler::draw(int, BOOM::RNG&)’:
Samplers/ImportanceResampler.cpp:55:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
55 | for (int i = 0; i < resampling_counts.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Samplers/ImportanceResampler.cpp:64:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
64 | for (int i = 0; i < resampling_counts.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/MH_Proposals.cpp -o Samplers/MH_Proposals.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/MetropolisHastings.cpp -o Samplers/MetropolisHastings.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/MoveAccounting.cpp -o Samplers/MoveAccounting.o
Samplers/MoveAccounting.cpp: In function ‘std::map<std::__cxx11::basic_string<char>, int> BOOM::{anonymous}::reverse_lookup(const std::vector<std::__cxx11::basic_string<char> >&)’:
Samplers/MoveAccounting.cpp:47:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | for (int i = 0; i < names.size(); ++i) {
| ~~^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/RejectionSampler.cpp -o Samplers/RejectionSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/Sampler.cpp -o Samplers/Sampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/ScalarAdaptiveRejectionSampler.cpp -o Samplers/ScalarAdaptiveRejectionSampler.o
Samplers/ScalarAdaptiveRejectionSampler.cpp: In member function ‘void BOOM::ARS::PiecewiseExponentialApproximation::recompute_region_probabilities()’:
Samplers/ScalarAdaptiveRejectionSampler.cpp:212:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
212 | for (int i = 0; i < log_region_probability_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/ScalarLangevinSampler.cpp -o Samplers/ScalarLangevinSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/ScalarSliceSampler.cpp -o Samplers/ScalarSliceSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/SliceSampler.cpp -o Samplers/SliceSampler.o
Samplers/SliceSampler.cpp: In member function ‘void BOOM::SliceSampler::set_random_direction()’:
Samplers/SliceSampler.cpp:79:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
79 | for (uint i = 0; i < random_direction_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/TIM.cpp -o Samplers/TIM.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/UnivariateLangevinSampler.cpp -o Samplers/UnivariateLangevinSampler.o
Samplers/UnivariateLangevinSampler.cpp: In member function ‘virtual BOOM::Vector BOOM::UnivariateLangevinSampler::draw(const BOOM::Vector&)’:
Samplers/UnivariateLangevinSampler.cpp:37:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
37 | for (int i = 0; i < x_.size(); ++i) {
| ~~^~~~~~~~~~~
Samplers/UnivariateLangevinSampler.cpp: In member function ‘void BOOM::UnivariateLangevinSampler::allow_adaptation(bool)’:
Samplers/UnivariateLangevinSampler.cpp:44:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ScalarLangevinSampler>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
44 | for (int i = 0; i < scalar_samplers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/UnivariateSliceSampler.cpp -o Samplers/UnivariateSliceSampler.o
Samplers/UnivariateSliceSampler.cpp: In member function ‘virtual BOOM::Vector BOOM::UnivariateSliceSampler::draw(const BOOM::Vector&)’:
Samplers/UnivariateSliceSampler.cpp:45:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ScalarSliceSampler>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
45 | for (int i = 0; i < scalar_samplers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Samplers/Gilks/arms.cpp -o Samplers/Gilks/arms.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/AsciiDistributionCompare.cpp -o stats/AsciiDistributionCompare.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/Bspline.cpp -o stats/Bspline.o
stats/Bspline.cpp: In constructor ‘BOOM::Bspline::Bspline(const BOOM::Vector&, int)’:
stats/Bspline.cpp:45:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
45 | for (int i = 1; i < sorted_knots.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/ChiSquareTest.cpp -o stats/ChiSquareTest.o
stats/ChiSquareTest.cpp: In constructor ‘BOOM::OneWayChiSquareTest::OneWayChiSquareTest(const BOOM::Vector&, const BOOM::Vector&, double)’:
stats/ChiSquareTest.cpp:44:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
44 | for (int i = 0; i < observed_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
stats/ChiSquareTest.cpp: In member function ‘bool BOOM::OneWayChiSquareTest::is_valid() const’:
stats/ChiSquareTest.cpp:73:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
73 | for (int i = 0; i < expected_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/DataTable.cpp -o stats/DataTable.o
stats/DataTable.cpp: In member function ‘void BOOM::DataTypeIndex::diagnose_types(const std::vector<std::__cxx11::basic_string<char> >&)’:
stats/DataTable.cpp:81:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
81 | for (uint i = 0; i < fields.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
stats/DataTable.cpp: In copy constructor ‘BOOM::MixedMultivariateData::MixedMultivariateData(const BOOM::MixedMultivariateData&)’:
stats/DataTable.cpp:136:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
136 | for (int i = 0; i < rhs.numeric_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
stats/DataTable.cpp:139:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LabeledCategoricalData> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
139 | for (int i = 0; i < rhs.categorical_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/DataTable.cpp: In member function ‘BOOM::MixedMultivariateData& BOOM::MixedMultivariateData::operator=(const BOOM::MixedMultivariateData&)’:
stats/DataTable.cpp:149:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
149 | for (int i = 0; i < rhs.numeric_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
stats/DataTable.cpp:154:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LabeledCategoricalData> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
154 | for (int i = 0; i < rhs.categorical_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/DataTable.cpp: In member function ‘BOOM::Vector BOOM::MixedMultivariateData::numeric_data() const’:
stats/DataTable.cpp:255:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
255 | for (int i = 0; i < numeric_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
stats/DataTable.cpp: In constructor ‘BOOM::CategoricalVariable::CategoricalVariable(const std::vector<std::__cxx11::basic_string<char> >&)’:
stats/DataTable.cpp:265:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
265 | for (int i = 0; i < raw_data.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
stats/DataTable.cpp: In member function ‘void BOOM::DataTable::read_file(const std::string&, bool, const std::string&)’:
stats/DataTable.cpp:368:25: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
368 | if (fields.size() != nfields) { // check number of fields
| ~~~~~~~~~~~~~~^~~~~~~~~~
stats/DataTable.cpp: In member function ‘virtual void BOOM::DataTable::append_variable(const BOOM::Vector&, const std::string&)’:
stats/DataTable.cpp:422:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
422 | if (nobs() > 0 && nobs() != v.size()) {
| ~~~~~~~^~~~~~~~~~~
stats/DataTable.cpp: In member function ‘BOOM::LabeledMatrix BOOM::DataTable::design(const BOOM::Selector&, bool) const’:
stats/DataTable.cpp:585:28: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
585 | for (uint i = 1; i < labs.size(); ++i) {
| ~~^~~~~~~~~~~~~
stats/DataTable.cpp: In member function ‘BOOM::DataTable& BOOM::DataTable::rbind(const BOOM::DataTable&)’:
stats/DataTable.cpp:605:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Vector>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
605 | for (int i = 0; i < numeric_variables_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/DataTable.cpp:608:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::CategoricalVariable>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
608 | for (int i = 0; i < categorical_variables_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/DataTable.cpp: In member function ‘BOOM::Ptr<BOOM::MixedMultivariateData> BOOM::DataTable::row(BOOM::uint) const’:
stats/DataTable.cpp:740:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Vector>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
740 | for (int i = 0; i < numeric_variables_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/DataTable.cpp:744:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::CategoricalVariable>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
744 | for (int i = 0; i < categorical_variables_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/Design.cpp -o stats/Design.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/ECDF.cpp -o stats/ECDF.o
stats/Design.cpp: In function ‘BOOM::LabeledMatrix BOOM::generate_design_matrix(const ExperimentStructure&, const RowBuilder&)’:
stats/Design.cpp:42:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
42 | for (int i = 0; i < configurations.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In function ‘BOOM::LabeledMatrix BOOM::generate_contextual_design_matrix(const ExperimentStructure&, const ContextualRowBuilder&)’:
stats/Design.cpp:89:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
89 | for (int i = 0; i < context_configurations.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In function ‘BOOM::LabeledMatrix BOOM::generate_experimental_design_matrix(const ExperimentStructure&, const ContextualRowBuilder&)’:
stats/Design.cpp:111:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<int> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
111 | for (int i = 0; i < configurations.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In constructor ‘BOOM::ExperimentStructure::ExperimentStructure(const std::vector<std::__cxx11::basic_string<char> >&, const std::vector<std::vector<std::__cxx11::basic_string<char> > >&)’:
stats/Design.cpp:154:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::vector<std::__cxx11::basic_string<char> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
154 | for (int i = 0; i < level_names_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘void BOOM::FactorDummy::set_level(std::vector<int>&) const’:
stats/Design.cpp:263:30: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
263 | if (configuration.size() <= factor_) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
stats/Design.cpp: In constructor ‘BOOM::Effect::Effect(const BOOM::Effect&, const BOOM::Effect&)’:
stats/Design.cpp:290:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::FactorDummy>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
290 | for (int i = 1; i < factors_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘bool BOOM::Effect::eval(const std::vector<int>&) const’:
stats/Design.cpp:314:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::FactorDummy>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
314 | for (int i = 0; i < factors_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘bool BOOM::Effect::has_factor(const BOOM::FactorDummy&) const’:
stats/Design.cpp:347:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::FactorDummy>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
347 | for (int i = 0; i < factors_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘bool BOOM::Effect::models_factor(int) const’:
stats/Design.cpp:354:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::FactorDummy>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
354 | for (int i = 0; i < factors_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘const BOOM::FactorDummy& BOOM::Effect::factor_dummy_for_factor(int) const’:
stats/Design.cpp:375:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::FactorDummy>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
375 | for (int i = 0; i < factors_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘void BOOM::Effect::set_levels(std::vector<int>&) const’:
stats/Design.cpp:388:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::FactorDummy>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
388 | for (int i = 0; i < factors_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
stats/Design.cpp: In constructor ‘BOOM::EffectGroup::EffectGroup(const BOOM::EffectGroup&, const BOOM::EffectGroup&)’:
stats/Design.cpp:602:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Effect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
602 | for (int i = 0; i < first.effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp:603:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Effect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
603 | for (int j = 0; j < second.effects_.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In constructor ‘BOOM::ContextualEffectGroup::ContextualEffectGroup(const BOOM::ContextualEffectGroup&, const BOOM::ContextualEffectGroup&)’:
stats/Design.cpp:673:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
673 | for (int i = 0; i < first.effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp:674:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
674 | for (int j = 0; j < second.effects_.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In function ‘std::vector<BOOM::EffectGroup> BOOM::ExpandInteraction(const std::vector<EffectGroup>&, const std::vector<EffectGroup>&)’:
stats/Design.cpp:737:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::EffectGroup>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
737 | for (int i = 0; i < first_set_of_effects.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp:738:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::EffectGroup>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
738 | for (int j = 0; j < second_set_of_effects.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In function ‘std::vector<BOOM::ContextualEffectGroup> BOOM::ExpandInteraction(const std::vector<ContextualEffectGroup>&, const std::vector<ContextualEffectGroup>&)’:
stats/Design.cpp:766:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffectGroup>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
766 | for (int i = 0; i < first_set_of_effects.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp:767:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffectGroup>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
767 | for (int j = 0; j < second_set_of_effects.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In constructor ‘BOOM::RowBuilder::RowBuilder(const std::vector<BOOM::EffectGroup>&, bool)’:
stats/Design.cpp:801:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::EffectGroup>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
801 | for (int group = 0; group < effect_groups.size(); ++group) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp:803:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Effect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
803 | for (int e = 0; e < effects.size(); ++e) {
| ~~^~~~~~~~~~~~~~~~
stats/Design.cpp: In constructor ‘BOOM::RowBuilder::RowBuilder(const BOOM::ExperimentStructure&, unsigned int)’:
stats/Design.cpp:819:27: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘int’ [-Wsign-compare]
819 | if (interaction_order > xp.nfactors()) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
stats/Design.cpp:837:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
837 | for (int order = 2; order <= interaction_order; ++order) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~~
stats/Design.cpp:846:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Effect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
846 | for (int j = 0; j < last_effects.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘void BOOM::RowBuilder::add_effect_group(const BOOM::EffectGroup&)’:
stats/Design.cpp:883:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Effect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
883 | for (int i = 0; i < effects.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘int BOOM::RowBuilder::number_of_main_effects() const’:
stats/Design.cpp:890:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Effect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
890 | for (int i = 0; i < effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘int BOOM::RowBuilder::number_of_factors() const’:
stats/Design.cpp:898:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Effect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
898 | for (int i = 0; i < effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘std::vector<int> BOOM::RowBuilder::main_effect_positions(int) const’:
stats/Design.cpp:909:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Effect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
909 | for (int i = 0; i < effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘std::vector<std::vector<int> > BOOM::RowBuilder::second_order_interaction_positions(int, int) const’:
stats/Design.cpp:925:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Effect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
925 | for (int i = 0; i < effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
stats/Design.cpp:949:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Effect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
949 | for (int i = 0; i < effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘void BOOM::RowBuilder::recover_configuration(const BOOM::ConstVectorView&, std::vector<int>&) const’:
stats/Design.cpp:981:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Effect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
981 | for (int i = 0; i < effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
stats/Design.cpp: In constructor ‘BOOM::ContextualRowBuilder::ContextualRowBuilder(const BOOM::ExperimentStructure&, const BOOM::ExperimentStructure&, int)’:
stats/Design.cpp:1043:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1043 | for (int j = 0; j < last_effects.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘void BOOM::ContextualRowBuilder::add_effect_group(const BOOM::ContextualEffectGroup&)’:
stats/Design.cpp:1075:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1075 | for (int i = 0; i < effects.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘std::vector<std::__cxx11::basic_string<char> > BOOM::ContextualRowBuilder::variable_names() const’:
stats/Design.cpp:1087:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1087 | for (int i = 0; i < contextual_effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘std::vector<int> BOOM::ContextualRowBuilder::main_effect_positions(int, bool) const’:
stats/Design.cpp:1096:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1096 | for (int i = 0; i < contextual_effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘int BOOM::ContextualRowBuilder::find_max_observed_level(int, bool) const’:
stats/Design.cpp:1123:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1123 | for (int i = 0; i < contextual_effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘std::vector<std::vector<int> > BOOM::ContextualRowBuilder::second_order_interaction_positions(int, bool, int, bool) const’:
stats/Design.cpp:1215:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1215 | for (int i = 0; i < contextual_effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘BOOM::Vector BOOM::ContextualRowBuilder::build_row(const std::vector<int>&, const std::vector<int>&) const’:
stats/Design.cpp:1249:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1249 | for (int i = 0; i < contextual_effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘bool BOOM::ContextualRowBuilder::interaction_with_context() const’:
stats/Design.cpp:1256:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1256 | for (int i = 0; i < contextual_effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘BOOM::Selector BOOM::ContextualRowBuilder::pure_experiment() const’:
stats/Design.cpp:1267:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1267 | for (int i = 0; i < contextual_effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘BOOM::Selector BOOM::ContextualRowBuilder::pure_context() const’:
stats/Design.cpp:1279:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1279 | for (int i = 0; i < contextual_effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘BOOM::Selector BOOM::ContextualRowBuilder::experiment_context_interactions() const’:
stats/Design.cpp:1292:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1292 | for (int i = 0; i < contextual_effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘int BOOM::ContextualRowBuilder::number_of_experimental_factors() const’:
stats/Design.cpp:1305:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1305 | for (int i = 0; i < contextual_effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
stats/Design.cpp: In member function ‘int BOOM::ContextualRowBuilder::number_of_contextual_factors() const’:
stats/Design.cpp:1318:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffect>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1318 | for (int i = 0; i < contextual_effects_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from stats/Design.cpp:27:
../inst/include/cpputil/make_unique_preserve_order.hpp: In instantiation of ‘std::vector<T> BOOM::make_unique_preserve_order(const std::vector<T>&) [with T = EffectGroup]’:
stats/Design.cpp:744:38: required from here
744 | return make_unique_preserve_order(ans);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../inst/include/cpputil/make_unique_preserve_order.hpp:45:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::EffectGroup>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
45 | for (int i = 0; i < input.size(); ++i) {
| ~~^~~~~~~~~~~~~~
../inst/include/cpputil/make_unique_preserve_order.hpp: In instantiation of ‘std::vector<T> BOOM::make_unique_preserve_order(const std::vector<T>&) [with T = ContextualEffectGroup]’:
stats/Design.cpp:773:38: required from here
773 | return make_unique_preserve_order(ans);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
../inst/include/cpputil/make_unique_preserve_order.hpp:45:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::ContextualEffectGroup>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
45 | for (int i = 0; i < input.size(); ++i) {
| ~~^~~~~~~~~~~~~~
stats/ECDF.cpp: In member function ‘double BOOM::ECDF::quantile(double) const’:
stats/ECDF.cpp:75:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
75 | || index + 1 == sorted_data_.size()) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/EmpiricalDensity.cpp -o stats/EmpiricalDensity.o
stats/EmpiricalDensity.cpp: In constructor ‘BOOM::EmpiricalDensity::EmpiricalDensity(const BOOM::ConstVectorView&, const BOOM::Vector&)’:
stats/EmpiricalDensity.cpp:51:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
51 | for (int i = 0; i < knots.size(); ++i) {
| ~~^~~~~~~~~~~~~~
stats/EmpiricalDensity.cpp: In member function ‘BOOM::Vector BOOM::EmpiricalDensity::operator()(const BOOM::Vector&) const’:
stats/EmpiricalDensity.cpp:67:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
67 | for (int i = 0; i < values.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/Encoders.cpp -o stats/Encoders.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/FreqDist.cpp -o stats/FreqDist.o
In file included from stats/Encoders.cpp:19:
../inst/include/stats/Encoders.hpp: In member function ‘virtual void BOOM::InteractionEncoder::encode_row(const BOOM::MixedMultivariateData&, BOOM::VectorView) const’:
../inst/include/stats/Encoders.hpp:123:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
123 | for (int i = 0; i < wsp1_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
../inst/include/stats/Encoders.hpp:124:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
124 | for (int j = 0; j < wsp2_.size(); ++j) {
| ~~^~~~~~~~~~~~~~
stats/Encoders.cpp: In member function ‘BOOM::Matrix BOOM::EffectsEncoder::encode(const BOOM::CategoricalVariable&) const’:
stats/Encoders.cpp:72:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
72 | for (size_t i = 0; i < variable.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
stats/FreqDist.cpp: In member function ‘std::string BOOM::FrequencyDistribution::mode() const’:
stats/FreqDist.cpp:117:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
117 | for (int i = 0; i < counts_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
stats/FreqDist.cpp: In member function ‘int BOOM::FrequencyDistribution::count(const std::string&) const’:
stats/FreqDist.cpp:127:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | for (int i = 0; i < labs_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
stats/FreqDist.cpp: In constructor ‘BOOM::BucketedFrequencyDistribution::BucketedFrequencyDistribution(const BOOM::Vector&, const BOOM::Vector&)’:
stats/FreqDist.cpp:152:33: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
152 | for (int bucket = 0; bucket < cutpoints_.size(); ++bucket) {
| ~~~~~~~^~~~~~~~~~~~~~~~~~~
stats/FreqDist.cpp:153:16: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
153 | for (; i < x.size(); ++i) {
| ~~^~~~~~~~~~
stats/FreqDist.cpp: In member function ‘std::vector<std::__cxx11::basic_string<char> > BOOM::BucketedFrequencyDistribution::create_labels() const’:
stats/FreqDist.cpp:167:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
167 | for (int i = 0; i < cutpoints_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
stats/FreqDist.cpp: In instantiation of ‘std::vector<int> BOOM::{anonymous}::count_values(const std::vector<_RealType>&, std::vector<std::__cxx11::basic_string<char> >&, bool) [with INT = long int]’:
stats/FreqDist.cpp:64:27: required from here
64 | counts_ = count_values(y, labs_, contiguous);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
stats/FreqDist.cpp:39:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
39 | for (int i = 0; i < y.size(); ++i) {
| ~~^~~~~~~~~~
stats/FreqDist.cpp: In instantiation of ‘std::vector<int> BOOM::{anonymous}::count_values(const std::vector<_RealType>&, std::vector<std::__cxx11::basic_string<char> >&, bool) [with INT = int]’:
stats/FreqDist.cpp:69:27: required from here
69 | counts_ = count_values(y, labs_, contiguous);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
stats/FreqDist.cpp:39:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
39 | for (int i = 0; i < y.size(); ++i) {
| ~~^~~~~~~~~~
stats/FreqDist.cpp: In instantiation of ‘std::vector<int> BOOM::{anonymous}::count_values(const std::vector<_RealType>&, std::vector<std::__cxx11::basic_string<char> >&, bool) [with INT = long unsigned int]’:
stats/FreqDist.cpp:74:27: required from here
74 | counts_ = count_values(y, labs_, contiguous);
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
stats/FreqDist.cpp:39:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<long unsigned int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
39 | for (int i = 0; i < y.size(); ++i) {
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/IQagent.cpp -o stats/IQagent.o
stats/IQagent.cpp: In member function ‘void BOOM::IQagent::add(double)’:
stats/IQagent.cpp:67:29: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
67 | if (data_buffer_.size() > max_buffer_size_) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
stats/IQagent.cpp: In member function ‘void BOOM::IQagent::add(const BOOM::Vector&)’:
stats/IQagent.cpp:74:29: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
74 | if (data_buffer_.size() > max_buffer_size_) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/Mspline.cpp -o stats/Mspline.o
stats/Mspline.cpp: In constructor ‘BOOM::Mspline::Mspline(const BOOM::Vector&, int)’:
stats/Mspline.cpp:31:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
31 | for (int i = 1; i < sorted_knots.size() - 1; ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
stats/Mspline.cpp: In member function ‘virtual BOOM::Vector BOOM::Mspline::basis(double) const’:
stats/Mspline.cpp:46:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
46 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
stats/Mspline.cpp: In member function ‘virtual BOOM::Vector BOOM::Ispline::basis(double) const’:
stats/Mspline.cpp:104:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
104 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/NaturalSpline.cpp -o stats/NaturalSpline.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/Resampler.cpp -o stats/Resampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/Spline.cpp -o stats/Spline.o
stats/Spline.cpp: In member function ‘BOOM::Matrix BOOM::SplineBase::basis_matrix(const BOOM::Vector&) const’:
stats/Spline.cpp:33:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
33 | for (int i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
stats/Spline.cpp: In member function ‘virtual double BOOM::SplineBase::knot(int) const’:
stats/Spline.cpp:63:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
63 | } else if (i >= knots_.size()) {
| ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/acf.cpp -o stats/acf.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/compare_binomial_proportions.cpp -o stats/compare_binomial_proportions.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/compare_predictions.cpp -o stats/compare_predictions.o
In file included from ../inst/include/Models/GammaModel.hpp:29,
from ../inst/include/Models/Glm/PosteriorSamplers/RegressionConjSampler.hpp:23,
from stats/compare_predictions.cpp:22:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::GlmData<BOOM::UnivData<double> >; S = BOOM::RegSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:145:5: required from ‘void BOOM::SufstatDataPolicy<D, S>::set_data(const DatasetType&) [with D = BOOM::GlmData<BOOM::UnivData<double> >; S = BOOM::RegSuf; DatasetType = std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >]’
145 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:143:8: required from here
143 | void SufstatDataPolicy<D, S>::set_data(const DatasetType &d) {
| ^~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/diff.cpp -o stats/diff.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/hexbin.cpp -o stats/hexbin.o
stats/hexbin.cpp: In function ‘int BOOM::{anonymous}::find_upper_bound(int, const BOOM::Vector&)’:
stats/hexbin.cpp:90:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
90 | if (index + 1 == axis.size()) {
| ~~~~~~~~~~^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/logit.cpp -o stats/logit.o
stats/logit.cpp: In instantiation of ‘BOOM::Vector BOOM::{anonymous}::multinomial_logit_impl(const VECTOR&) [with VECTOR = BOOM::Vector]’:
stats/logit.cpp:57:34: required from here
57 | return multinomial_logit_impl(distribution);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
stats/logit.cpp:32:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
32 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
stats/logit.cpp: In instantiation of ‘BOOM::Vector BOOM::{anonymous}::multinomial_logit_impl(const VECTOR&) [with VECTOR = BOOM::VectorView]’:
stats/logit.cpp:60:34: required from here
60 | return multinomial_logit_impl(distribution);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
stats/logit.cpp:32:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
32 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
stats/logit.cpp: In instantiation of ‘BOOM::Vector BOOM::{anonymous}::multinomial_logit_impl(const VECTOR&) [with VECTOR = BOOM::ConstVectorView]’:
stats/logit.cpp:63:34: required from here
63 | return multinomial_logit_impl(distribution);
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
stats/logit.cpp:32:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
32 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
stats/logit.cpp: In instantiation of ‘BOOM::Vector BOOM::{anonymous}::multinomial_logit_inverse_impl(const VECTOR&) [with VECTOR = BOOM::Vector]’:
stats/logit.cpp:67:42: required from here
67 | return multinomial_logit_inverse_impl(logits);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
stats/logit.cpp:43:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
43 | for (int i = 0; i < logits.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/moments.cpp -o stats/moments.o
stats/moments.cpp: In function ‘double BOOM::cor(const std::vector<double>&, const std::vector<double>&)’:
stats/moments.cpp:97:18: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
97 | if (y.size() != n) {
| ~~~~~~~~~^~~~
stats/moments.cpp: In function ‘double BOOM::mean(const std::vector<double>&, double)’:
stats/moments.cpp:132:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
132 | for (int i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
stats/moments.cpp: In function ‘double BOOM::var(const std::vector<double>&, double)’:
stats/moments.cpp:147:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
147 | for (int i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
stats/moments.cpp: In function ‘double BOOM::mean(const std::vector<double>&, const std::vector<bool>&)’:
stats/moments.cpp:172:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
172 | for (int i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
stats/moments.cpp: In function ‘double BOOM::var(const std::vector<double>&, const std::vector<bool>&)’:
stats/moments.cpp:194:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
194 | for (int i = 0; i < x.size(); ++i) {
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/quantile.cpp -o stats/quantile.o
stats/quantile.cpp: In function ‘BOOM::Vector BOOM::quantile(const ConstVectorView&, const Vector&)’:
stats/quantile.cpp:34:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
34 | for (int i = 0; i < target_quantiles.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/regression.cpp -o stats/regression.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/simple_random_sample.cpp -o stats/simple_random_sample.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c stats/summary.cpp -o stats/summary.o
stats/summary.cpp: In member function ‘void BOOM::NumericSummary::summarize(const BOOM::Vector&)’:
stats/summary.cpp:86:18: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
86 | if (new_size < non_nan.size()) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/AggregatedStateSpaceRegression.cpp -o Models/StateSpace/AggregatedStateSpaceRegression.o
In file included from ../inst/include/Models/StateSpace/Filters/SparseKalmanTools.hpp:25,
from ../inst/include/Models/StateSpace/AggregatedStateSpaceRegression.hpp:22,
from Models/StateSpace/AggregatedStateSpaceRegression.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateSpaceRegressionModel.hpp:33,
from ../inst/include/Models/StateSpace/AggregatedStateSpaceRegression.hpp:27:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/EmMixtureComponent.hpp:23,
from ../inst/include/Models/Glm/RegressionModel.hpp:27,
from ../inst/include/Models/StateSpace/StateModels/RegressionStateModel.hpp:23,
from ../inst/include/Models/StateSpace/AggregatedStateSpaceRegression.hpp:25:
../inst/include/Models/ModelTypes.hpp: At global scope:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GaussianModel.hpp:22,
from ../inst/include/Models/StateSpace/AggregatedStateSpaceRegression.hpp:29:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/StateSpace/AggregatedStateSpaceRegression.cpp: In copy constructor ‘BOOM::AggregatedStateSpaceRegression::AggregatedStateSpaceRegression(const BOOM::{anonymous}::ASSR&)’:
Models/StateSpace/AggregatedStateSpaceRegression.cpp:417:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::FineNowcastingData>, std::allocator<BOOM::Ptr<BOOM::FineNowcastingData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
417 | for (int i = 0; i < data.size(); ++i) add_data(data[i]);
| ~~^~~~~~~~~~~~~
Models/StateSpace/AggregatedStateSpaceRegression.cpp: In instantiation of ‘BOOM::Vector BOOM::{anonymous}::Multiply(const BOOM::SparseKalmanMatrix*, const BOOM::SparseVector&, bool, double, const VEC&) [with VEC = BOOM::Vector]’:
Models/StateSpace/AggregatedStateSpaceRegression.cpp:179:20: required from here
179 | return Multiply(transition_matrix_, observation_vector_, contains_end_,
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
180 | fraction_in_initial_period_, v);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/AggregatedStateSpaceRegression.cpp:152:20: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
152 | if (v.size() != state_dim + 2 || Z.size() != state_dim) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/AggregatedStateSpaceRegression.cpp: In instantiation of ‘BOOM::Vector BOOM::RQR_Multiply(const VECTOR&, const SparseKalmanMatrix&, const SparseVector&, double) [with VECTOR = Vector]’:
Models/StateSpace/AggregatedStateSpaceRegression.cpp:329:24: required from here
329 | return RQR_Multiply(v, *state_variance_matrix_, observation_vector_,
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
330 | observation_variance_);
| ~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/AggregatedStateSpaceRegression.cpp:311:18: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
311 | if (v.size() != state_dim + 2) {
| ~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/DynamicInterceptRegression.cpp -o Models/StateSpace/DynamicInterceptRegression.o
In file included from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:25,
from Models/StateSpace/DynamicInterceptRegression.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:27:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/StateSpace/DynamicInterceptRegression.cpp: In constructor ‘BOOM::StateSpace::TimeSeriesRegressionData::TimeSeriesRegressionData(const BOOM::Vector&, const BOOM::Matrix&, const BOOM::Selector&)’:
Models/StateSpace/DynamicInterceptRegression.cpp:39:28: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
39 | if (response_.size() != predictors_.nrow()) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/DynamicInterceptRegression.cpp:43:28: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
43 | if (response_.size() != observed.nvars_possible()) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/DynamicInterceptRegression.cpp:47:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | for (int i = 0; i < response_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Models/StateSpace/DynamicInterceptRegression.cpp: In member function ‘BOOM::Vector BOOM::DynamicInterceptRegressionModel::simulate_forecast(BOOM::RNG&, const BOOM::Matrix&, const BOOM::Vector&, const std::vector<int>&)’:
Models/StateSpace/DynamicInterceptRegression.cpp:212:35: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
212 | if (nrow(forecast_predictors) != timestamps.size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Models/StateSpace/DynamicInterceptRegression.cpp:215:28: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
215 | if (final_state.size() != state_dimension()) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Models/StateSpace/DynamicInterceptRegression.cpp:231:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
231 | while(index < timestamps.size() && time < timestamps[index]) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~
Models/StateSpace/DynamicInterceptRegression.cpp:233:20: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
233 | while (index < timestamps.size() && time == timestamps[index]) {
| ~~~~~~^~~~~~~~~~~~~~~~~~~
Models/StateSpace/DynamicInterceptRegression.cpp: In member function ‘virtual BOOM::Vector BOOM::DynamicInterceptRegressionModel::simulate_fake_observation(BOOM::RNG&, int)’:
Models/StateSpace/DynamicInterceptRegression.cpp:257:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
257 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:29:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionalIidMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionalIidMarginalDistribution, std::allocator<BOOM::Kalman::ConditionalIidMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/DynamicRegression.cpp -o Models/StateSpace/DynamicRegression.o
In file included from ../inst/include/Models/StateSpace/DynamicRegression.hpp:28,
from Models/StateSpace/DynamicRegression.cpp:19:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
In file included from ../inst/include/Models/Policies/ManyParamPolicy.hpp:28,
from ../inst/include/Models/StateSpace/DynamicRegression.hpp:24:
../inst/include/Models/ModelTypes.hpp: At global scope:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23,
from ../inst/include/Models/StateSpace/DynamicRegression.hpp:29:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/StateSpace/DynamicRegression.hpp: In member function ‘int BOOM::TimeSeriesRegressionDataPolicy::sample_size() const’:
../inst/include/Models/StateSpace/DynamicRegression.hpp:368:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::StateSpace::RegressionDataTimePoint>, std::allocator<BOOM::Ptr<BOOM::StateSpace::RegressionDataTimePoint> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
368 | for (int i = 0; i < data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/StateSpace/DynamicRegression.cpp: In copy constructor ‘BOOM::StateSpace::RegressionDataTimePoint::RegressionDataTimePoint(const BOOM::StateSpace::RegressionDataTimePoint&)’:
Models/StateSpace/DynamicRegression.cpp:38:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
38 | for (int i = 0; i < rhs.raw_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/DynamicRegression.cpp: In constructor ‘BOOM::StateSpace::RegressionDataTimePoint::RegressionDataTimePoint(const BOOM::Matrix&, const BOOM::Vector&)’:
Models/StateSpace/DynamicRegression.cpp:46:19: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
46 | if (nrow(X) != y.size()) {
| ~~~~~~~~^~~~~~~~~~~
Models/StateSpace/DynamicRegression.cpp: In member function ‘virtual std::ostream& BOOM::StateSpace::RegressionDataTimePoint::display(std::ostream&) const’:
Models/StateSpace/DynamicRegression.cpp:64:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
64 | for (int i = 0; i < raw_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Models/StateSpace/DynamicRegression.cpp: In member function ‘void BOOM::StateSpace::RegressionDataTimePoint::add_data(const BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > >&)’:
Models/StateSpace/DynamicRegression.cpp:87:30: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
87 | if (raw_data_.size() >= dp->xdim()) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~
Models/StateSpace/DynamicRegression.cpp: In member function ‘BOOM::Vector BOOM::StateSpace::ProductSelectorMatrix::operator*(const BOOM::ConstVectorView&) const’:
Models/StateSpace/DynamicRegression.cpp:171:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
171 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
Models/StateSpace/DynamicRegression.cpp: In member function ‘void BOOM::StateSpace::DynamicRegressionKalmanFilter::ensure_storage(int)’:
Models/StateSpace/DynamicRegression.cpp:390:25: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::StateSpace::DynamicRegressionKalmanFilterNode>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
390 | if (nodes_.size() < number_of_time_points) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/DynamicRegression.cpp: In member function ‘void BOOM::TimeSeriesRegressionDataPolicy::add_data(const BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > >&, int)’:
Models/StateSpace/DynamicRegression.cpp:436:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::StateSpace::RegressionDataTimePoint>, std::allocator<BOOM::Ptr<BOOM::StateSpace::RegressionDataTimePoint> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
436 | while (time >= data_.size()) {
| ~~~~~^~~~~~~~~~~~~~~
Models/StateSpace/DynamicRegression.cpp: In copy constructor ‘BOOM::DynamicRegressionModel::DynamicRegressionModel(const BOOM::{anonymous}::DRM&)’:
Models/StateSpace/DynamicRegression.cpp:499:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmCoefs> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
499 | for (int i = 0; i < rhs.coefficients_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/DynamicRegression.cpp: In member function ‘void BOOM::DynamicRegressionModel::set_initial_state_mean(const BOOM::Vector&)’:
Models/StateSpace/DynamicRegression.cpp:514:21: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
514 | if (mean.size() != xdim()) {
| ~~~~~~~~~~~~^~~~~~~~~
Models/StateSpace/DynamicRegression.cpp: In member function ‘virtual void BOOM::DynamicRegressionModel::ensure_time_dimension()’:
Models/StateSpace/DynamicRegression.cpp:533:33: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::GlmCoefs> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
533 | while (coefficients_.size() < time_dimension()) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Models/StateSpace/DynamicRegression.cpp: In member function ‘void BOOM::DynamicRegressionModel::refresh_innovation_variances() const’:
Models/StateSpace/DynamicRegression.cpp:544:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroMeanGaussianModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
544 | for (int i = 0; i < innovation_error_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/MultiplexedData.cpp -o Models/StateSpace/MultiplexedData.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModelVector.cpp -o Models/StateSpace/StateModelVector.o
In file included from ../inst/include/Models/StateSpace/StateModelVector.hpp:29,
from Models/StateSpace/StateModelVector.cpp:19:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateSpaceLogitModel.cpp -o Models/StateSpace/StateSpaceLogitModel.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateSpaceNormalMixture.hpp:24,
from ../inst/include/Models/StateSpace/StateSpaceLogitModel.hpp:27,
from Models/StateSpace/StateSpaceLogitModel.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceLogitModel.cpp: In constructor ‘BOOM::StateSpace::AugmentedBinomialRegressionData::AugmentedBinomialRegressionData(const std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >&)’:
Models/StateSpace/StateSpaceLogitModel.cpp:44:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
44 | for (int i = 0; i < binomial_data.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceLogitModel.cpp: In member function ‘virtual std::ostream& BOOM::StateSpace::AugmentedBinomialRegressionData::display(std::ostream&) const’:
Models/StateSpace/StateSpaceLogitModel.cpp:56:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
56 | for (int i = 0; i < binomial_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceLogitModel.cpp: In member function ‘double BOOM::StateSpace::AugmentedBinomialRegressionData::adjusted_observation(const BOOM::GlmCoefs&) const’:
Models/StateSpace/StateSpaceLogitModel.cpp:98:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
98 | for (int i = 0; i < binomial_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceLogitModel.cpp: In member function ‘double BOOM::StateSpace::AugmentedBinomialRegressionData::latent_data_overall_variance() const’:
Models/StateSpace/StateSpaceLogitModel.cpp:127:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | for (int i = 0; i < binomial_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceLogitModel.cpp: In member function ‘double BOOM::StateSpace::AugmentedBinomialRegressionData::total_trials() const’:
Models/StateSpace/StateSpaceLogitModel.cpp:142:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
142 | for (int i = 0; i < binomial_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceLogitModel.cpp: In member function ‘double BOOM::StateSpace::AugmentedBinomialRegressionData::total_successes() const’:
Models/StateSpace/StateSpaceLogitModel.cpp:150:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::BinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::BinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
150 | for (int i = 0; i < binomial_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceLogitModel.cpp: In constructor ‘BOOM::StateSpaceLogitModel::StateSpaceLogitModel(const BOOM::Vector&, const BOOM::Vector&, const BOOM::Matrix&, const std::vector<bool>&)’:
Models/StateSpace/StateSpaceLogitModel.cpp:169:26: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
169 | successes.size() != nrow(design_matrix) ||
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceLogitModel.cpp:175:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
175 | for (int i = 0; i < successes.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceLogitModel.cpp: In member function ‘BOOM::Vector BOOM::StateSpaceLogitModel::simulate_multiplex_forecast(BOOM::RNG&, const BOOM::Matrix&, const BOOM::Vector&, const BOOM::Vector&, const std::vector<int>&)’:
Models/StateSpace/StateSpaceLogitModel.cpp:240:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
240 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
Models/StateSpace/StateSpaceLogitModel.cpp: In member function ‘BOOM::Vector BOOM::StateSpaceLogitModel::one_step_holdout_prediction_errors(BOOM::RNG&, BOOM::BinomialLogitDataImputer&, const BOOM::Vector&, const BOOM::Vector&, const BOOM::Matrix&, const BOOM::Vector&)’:
Models/StateSpace/StateSpaceLogitModel.cpp:280:26: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
280 | if (nrow(predictors) != successes.size() ||
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceLogitModel.cpp:303:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
303 | for (int t = 0; t < ans.size(); ++t) {
| ~~^~~~~~~~~~~~
Models/StateSpace/StateSpaceLogitModel.cpp: In member function ‘virtual BOOM::Matrix BOOM::StateSpaceLogitModel::simulate_holdout_prediction_errors(int, int, bool)’:
Models/StateSpace/StateSpaceLogitModel.cpp:352:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::StateSpace::AugmentedBinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::StateSpace::AugmentedBinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
352 | for (int i = 0; i < holdout_data.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateSpaceModel.cpp -o Models/StateSpace/StateSpaceModel.o
In file included from ../inst/include/Models/Policies/IID_DataPolicy.hpp:23,
from ../inst/include/Models/StateSpace/StateSpaceModel.hpp:24,
from Models/StateSpace/StateSpaceModel.cpp:19:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23,
from ../inst/include/Models/StateSpace/StateSpaceModel.hpp:26:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateSpaceModel.hpp:28:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceModel.cpp: In member function ‘virtual std::ostream& BOOM::StateSpace::MultiplexedDoubleData::display(std::ostream&) const’:
Models/StateSpace/StateSpaceModel.cpp:39:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
39 | for (int i = 0; i < data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/StateSpace/StateSpaceModel.cpp: In member function ‘double BOOM::StateSpace::MultiplexedDoubleData::adjusted_observation() const’:
Models/StateSpace/StateSpaceModel.cpp:56:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
56 | for (int i = 0; i < data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/StateSpace/StateSpaceModel.cpp: In member function ‘bool BOOM::StateSpace::MultiplexedDoubleData::all_missing() const’:
Models/StateSpace/StateSpaceModel.cpp:72:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
72 | for (int i = 0; i < data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/StateSpace/StateSpaceModel.cpp: In constructor ‘BOOM::StateSpaceModel::StateSpaceModel(const BOOM::Vector&, const std::vector<bool>&)’:
Models/StateSpace/StateSpaceModel.cpp:93:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
93 | for (int i = 0; i < y.size(); ++i) {
| ~~^~~~~~~~~~
Models/StateSpace/StateSpaceModel.cpp: In member function ‘virtual double BOOM::StateSpaceModel::observation_variance(int) const’:
Models/StateSpace/StateSpaceModel.cpp:120:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::StateSpace::MultiplexedDoubleData>, std::allocator<BOOM::Ptr<BOOM::StateSpace::MultiplexedDoubleData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
120 | if (t >= dat().size()) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceModel.cpp: In member function ‘BOOM::Vector BOOM::StateSpaceModel::one_step_holdout_prediction_errors(const BOOM::Vector&, const BOOM::Vector&, bool) const’:
Models/StateSpace/StateSpaceModel.cpp:219:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
219 | for (int t = 0; t < ans.size(); ++t) {
| ~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateSpaceModelBase.cpp -o Models/StateSpace/StateSpaceModelBase.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from Models/StateSpace/StateSpaceModelBase.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceModelBase.cpp: In member function ‘void BOOM::StateSpaceModelBase::signal_complete_data_change(int)’:
Models/StateSpace/StateSpaceModelBase.cpp:265:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::StateSpace::SufstatManager>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
265 | for (int i = 0; i < data_observers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceModelBase.cpp: In member function ‘void BOOM::StateSpaceModelBase::signal_complete_data_reset()’:
Models/StateSpace/StateSpaceModelBase.cpp:636:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::StateSpace::SufstatManager>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
636 | for (int i = 0; i < data_observers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceModelBase.cpp: In function ‘std::vector<BOOM::Matrix> BOOM::StateSpaceUtils::compute_prediction_errors(const BOOM::ScalarStateSpaceModelBase&, int, const std::vector<int>&, bool)’:
Models/StateSpace/StateSpaceModelBase.cpp:938:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
938 | for (int i = 0; i < cutpoints.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceModelBase.cpp:947:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::future<void> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
947 | for (int i = 0; i < futures.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateSpaceNormalMixture.cpp -o Models/StateSpace/StateSpaceNormalMixture.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateSpaceNormalMixture.hpp:24,
from Models/StateSpace/StateSpaceNormalMixture.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceNormalMixture.cpp: In member function ‘virtual BOOM::Vector BOOM::StateSpaceNormalMixture::regression_contribution() const’:
Models/StateSpace/StateSpaceNormalMixture.cpp:32:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
32 | for (int time = 0; time < ans.size(); ++time) {
| ~~~~~^~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateSpacePoissonModel.cpp -o Models/StateSpace/StateSpacePoissonModel.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateSpaceNormalMixture.hpp:24,
from ../inst/include/Models/StateSpace/StateSpacePoissonModel.hpp:27,
from Models/StateSpace/StateSpacePoissonModel.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/StateSpacePoissonModel.cpp: In constructor ‘BOOM::StateSpace::AugmentedPoissonRegressionData::AugmentedPoissonRegressionData(const std::vector<BOOM::Ptr<BOOM::PoissonRegressionData>, std::allocator<BOOM::Ptr<BOOM::PoissonRegressionData> > >&)’:
Models/StateSpace/StateSpacePoissonModel.cpp:47:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonRegressionData>, std::allocator<BOOM::Ptr<BOOM::PoissonRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/StateSpace/StateSpacePoissonModel.cpp: In member function ‘virtual std::ostream& BOOM::StateSpace::AugmentedPoissonRegressionData::display(std::ostream&) const’:
Models/StateSpace/StateSpacePoissonModel.cpp:55:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::PoissonRegressionData>, std::allocator<BOOM::Ptr<BOOM::PoissonRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
55 | for (int i = 0; i < poisson_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpacePoissonModel.cpp: In member function ‘double BOOM::StateSpace::AugmentedPoissonRegressionData::adjusted_observation(const BOOM::GlmCoefs&) const’:
Models/StateSpace/StateSpacePoissonModel.cpp:94:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
94 | for (int i = 0; i < latent_continuous_values_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpacePoissonModel.cpp: In constructor ‘BOOM::StateSpacePoissonModel::StateSpacePoissonModel(const BOOM::Vector&, const BOOM::Vector&, const BOOM::Matrix&, const std::vector<bool>&)’:
Models/StateSpace/StateSpacePoissonModel.cpp:159:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
159 | counts.size() != nrow(design_matrix) ||
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpacePoissonModel.cpp:165:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
165 | for (int i = 0; i < counts.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/StateSpacePoissonModel.cpp: In member function ‘BOOM::Vector BOOM::StateSpacePoissonModel::simulate_multiplex_forecast(BOOM::RNG&, const BOOM::Matrix&, const BOOM::Vector&, const BOOM::Vector&, const std::vector<int>&)’:
Models/StateSpace/StateSpacePoissonModel.cpp:234:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
234 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
Models/StateSpace/StateSpacePoissonModel.cpp: In member function ‘BOOM::Vector BOOM::StateSpacePoissonModel::one_step_holdout_prediction_errors(BOOM::RNG&, BOOM::PoissonDataImputer&, const BOOM::Vector&, const BOOM::Vector&, const BOOM::Matrix&, const BOOM::Vector&)’:
Models/StateSpace/StateSpacePoissonModel.cpp:271:26: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
271 | if (nrow(predictors) != counts.size() || exposure.size() != counts.size()) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/StateSpacePoissonModel.cpp:290:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
290 | for (int t = 0; t < ans.size(); ++t) {
| ~~^~~~~~~~~~~~
Models/StateSpace/StateSpacePoissonModel.cpp: In member function ‘virtual BOOM::Matrix BOOM::StateSpacePoissonModel::simulate_holdout_prediction_errors(int, int, bool)’:
Models/StateSpace/StateSpacePoissonModel.cpp:365:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::StateSpace::AugmentedPoissonRegressionData>, std::allocator<BOOM::Ptr<BOOM::StateSpace::AugmentedPoissonRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
365 | for (int i = 0; i < holdout_data.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateSpaceRegressionModel.cpp -o Models/StateSpace/StateSpaceRegressionModel.o
In file included from ../inst/include/Models/StateSpace/StateSpaceRegressionModel.hpp:30,
from Models/StateSpace/StateSpaceRegressionModel.cpp:19:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateSpaceRegressionModel.hpp:33:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceRegressionModel.cpp: In member function ‘virtual std::ostream& BOOM::StateSpace::MultiplexedRegressionData::display(std::ostream&) const’:
Models/StateSpace/StateSpaceRegressionModel.cpp:52:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
52 | for (int i = 0; i < regression_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceRegressionModel.cpp: In member function ‘double BOOM::StateSpace::MultiplexedRegressionData::adjusted_observation(const BOOM::GlmCoefs&) const’:
Models/StateSpace/StateSpaceRegressionModel.cpp:70:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
70 | for (int i = 0; i < regression_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceRegressionModel.cpp: In member function ‘virtual double BOOM::StateSpaceRegressionModel::observation_variance(int) const’:
Models/StateSpace/StateSpaceRegressionModel.cpp:170:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::StateSpace::MultiplexedRegressionData>, std::allocator<BOOM::Ptr<BOOM::StateSpace::MultiplexedRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
170 | if (t >= data.size()) {
| ~~^~~~~~~~~~~~~~
Models/StateSpace/StateSpaceRegressionModel.cpp: In member function ‘BOOM::Vector BOOM::StateSpaceRegressionModel::one_step_holdout_prediction_errors(const BOOM::Matrix&, const BOOM::Vector&, const BOOM::Vector&, bool) const’:
Models/StateSpace/StateSpaceRegressionModel.cpp:295:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
295 | for (int t = 0; t < ans.size(); ++t) {
| ~~^~~~~~~~~~~~
Models/StateSpace/StateSpaceRegressionModel.cpp: In member function ‘virtual BOOM::Matrix BOOM::StateSpaceRegressionModel::simulate_holdout_prediction_errors(int, int, bool)’:
Models/StateSpace/StateSpaceRegressionModel.cpp:323:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::StateSpace::MultiplexedRegressionData>, std::allocator<BOOM::Ptr<BOOM::StateSpace::MultiplexedRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
323 | for (int i = 0; i < holdout_data.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceRegressionModel.cpp: In member function ‘virtual BOOM::Vector BOOM::StateSpaceRegressionModel::regression_contribution() const’:
Models/StateSpace/StateSpaceRegressionModel.cpp:348:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::StateSpace::MultiplexedRegressionData>, std::allocator<BOOM::Ptr<BOOM::StateSpace::MultiplexedRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
348 | for (int time = 0; time < data.size(); ++time) {
| ~~~~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateSpaceStudentRegressionModel.cpp -o Models/StateSpace/StateSpaceStudentRegressionModel.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateSpaceNormalMixture.hpp:24,
from ../inst/include/Models/StateSpace/StateSpaceStudentRegressionModel.hpp:26,
from Models/StateSpace/StateSpaceStudentRegressionModel.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceStudentRegressionModel.cpp: In constructor ‘BOOM::StateSpace::AugmentedStudentRegressionData::AugmentedStudentRegressionData(const std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >&)’:
Models/StateSpace/StateSpaceStudentRegressionModel.cpp:44:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
44 | for (int i = 0; i < data.size(); ++i) {
| ~~^~~~~~~~~~~~~
Models/StateSpace/StateSpaceStudentRegressionModel.cpp: In member function ‘virtual std::ostream& BOOM::StateSpace::AugmentedStudentRegressionData::display(std::ostream&) const’:
Models/StateSpace/StateSpaceStudentRegressionModel.cpp:57:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
57 | for (int i = 0; i < regression_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceStudentRegressionModel.cpp: In member function ‘double BOOM::StateSpace::AugmentedStudentRegressionData::adjusted_observation(const BOOM::GlmCoefs&) const’:
Models/StateSpace/StateSpaceStudentRegressionModel.cpp:81:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
81 | for (int i = 0; i < regression_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceStudentRegressionModel.cpp: In member function ‘double BOOM::StateSpace::AugmentedStudentRegressionData::sum_of_weights() const’:
Models/StateSpace/StateSpaceStudentRegressionModel.cpp:99:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
99 | for (int i = 0; i < regression_data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceStudentRegressionModel.cpp: In constructor ‘BOOM::StateSpaceStudentRegressionModel::StateSpaceStudentRegressionModel(const BOOM::Vector&, const BOOM::Matrix&, const std::vector<bool>&)’:
Models/StateSpace/StateSpaceStudentRegressionModel.cpp:140:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
140 | for (int i = 0; i < response.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceStudentRegressionModel.cpp: In member function ‘int BOOM::StateSpaceStudentRegressionModel::total_sample_size() const’:
Models/StateSpace/StateSpaceStudentRegressionModel.cpp:165:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::StateSpace::AugmentedStudentRegressionData>, std::allocator<BOOM::Ptr<BOOM::StateSpace::AugmentedStudentRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
165 | for (int i = 0; i < dat().size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/StateSpace/StateSpaceStudentRegressionModel.cpp: In member function ‘BOOM::Vector BOOM::StateSpaceStudentRegressionModel::one_step_holdout_prediction_errors(BOOM::RNG&, const BOOM::Vector&, const BOOM::Matrix&, const BOOM::Vector&, bool)’:
Models/StateSpace/StateSpaceStudentRegressionModel.cpp:260:26: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
260 | if (nrow(predictors) != response.size()) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Models/StateSpace/StateSpaceStudentRegressionModel.cpp:274:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
274 | for (int t = 0; t < ans.size(); ++t) {
| ~~^~~~~~~~~~~~
Models/StateSpace/StateSpaceStudentRegressionModel.cpp: In member function ‘virtual BOOM::Matrix BOOM::StateSpaceStudentRegressionModel::simulate_holdout_prediction_errors(int, int, bool)’:
Models/StateSpace/StateSpaceStudentRegressionModel.cpp:327:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::StateSpace::AugmentedStudentRegressionData>, std::allocator<BOOM::Ptr<BOOM::StateSpace::AugmentedStudentRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
327 | for (int i = 0; i < holdout_data.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Filters/ConditionalIidKalmanFilter.cpp -o Models/StateSpace/Filters/ConditionalIidKalmanFilter.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:25,
from Models/StateSpace/Filters/ConditionalIidKalmanFilter.cpp:19:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Filters/ConditionallyIndependentKalmanFilter.cpp -o Models/StateSpace/Filters/ConditionallyIndependentKalmanFilter.o
In file included from ../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:25,
from ../inst/include/Models/StateSpace/Filters/ConditionallyIndependentKalmanFilter.hpp:21,
from Models/StateSpace/Filters/ConditionallyIndependentKalmanFilter.cpp:19:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:25,
from Models/StateSpace/Filters/ConditionallyIndependentKalmanFilter.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Filters/KalmanFilterBase.cpp -o Models/StateSpace/Filters/KalmanFilterBase.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from Models/StateSpace/Filters/KalmanFilterBase.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Filters/KalmanTools.cpp -o Models/StateSpace/Filters/KalmanTools.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Filters/MultivariateKalmanFilterBase.cpp -o Models/StateSpace/Filters/MultivariateKalmanFilterBase.o
In file included from ../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:25,
from Models/StateSpace/Filters/MultivariateKalmanFilterBase.cpp:19:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:25,
from Models/StateSpace/Filters/MultivariateKalmanFilterBase.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Filters/ScalarKalmanFilter.cpp -o Models/StateSpace/Filters/ScalarKalmanFilter.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from Models/StateSpace/Filters/ScalarKalmanFilter.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/ScalarKalmanFilter.cpp: In member function ‘virtual void BOOM::ScalarKalmanFilter::update()’:
Models/StateSpace/Filters/ScalarKalmanFilter.cpp:136:26: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ScalarMarginalDistribution>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
136 | while (nodes_.size() <= model_->time_dimension()) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Filters/ScalarKalmanFilter.cpp: In member function ‘void BOOM::ScalarKalmanFilter::update(double, int, bool)’:
Models/StateSpace/Filters/ScalarKalmanFilter.cpp:203:26: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ScalarMarginalDistribution>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
203 | while (nodes_.size() <= t) {
| ~~~~~~~~~~~~~~^~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Filters/SparseKalmanTools.cpp -o Models/StateSpace/Filters/SparseKalmanTools.o
In file included from ../inst/include/Models/StateSpace/Filters/SparseKalmanTools.hpp:25,
from Models/StateSpace/Filters/SparseKalmanTools.cpp:21:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Filters/SparseMatrix.cpp -o Models/StateSpace/Filters/SparseMatrix.o
In file included from Models/StateSpace/Filters/SparseMatrix.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘BOOM::Ptr<BOOM::SparseMatrixProduct> BOOM::SparseMatrixProduct::sparse_sandwich(const BOOM::SpdMatrix&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:145:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseKalmanMatrix> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
145 | for (int i = 0; i < terms_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘BOOM::Ptr<BOOM::SparseMatrixProduct> BOOM::SparseMatrixProduct::sparse_sandwich_transpose(const BOOM::SpdMatrix&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:155:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseKalmanMatrix> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
155 | for (int i = 0; i < terms_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::SpdMatrix BOOM::SparseMatrixProduct::inner() const’:
Models/StateSpace/Filters/SparseMatrix.cpp:178:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseKalmanMatrix> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
178 | for (int i = 0; i < terms_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::SpdMatrix BOOM::SparseMatrixProduct::inner(const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:192:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseKalmanMatrix> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
192 | for (int i = 0; i < terms_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::Vector BOOM::SparseMatrixSum::operator*(const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:265:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseKalmanMatrix> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
265 | for (int i = 0; i < terms_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::Matrix BOOM::SparseMatrixSum::operator*(const BOOM::Matrix&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:281:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseKalmanMatrix> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
281 | for (int i = 0; i < terms_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::Vector BOOM::SparseMatrixSum::Tmult(const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:289:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseKalmanMatrix> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
289 | for (int i = 0; i < terms_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::Matrix BOOM::SparseMatrixSum::Tmult(const BOOM::Matrix&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:297:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseKalmanMatrix> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
297 | for (int i = 0; i < terms_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::Matrix& BOOM::SparseMatrixSum::add_to(BOOM::Matrix&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:312:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseKalmanMatrix> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
312 | for (int i = 0; i < terms_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In copy constructor ‘BOOM::BlockDiagonalMatrixBlock::BlockDiagonalMatrixBlock(const BOOM::BlockDiagonalMatrixBlock&)’:
Models/StateSpace/Filters/SparseMatrix.cpp:650:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
650 | for (int i = 0; i < rhs.blocks_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘BOOM::BlockDiagonalMatrixBlock& BOOM::BlockDiagonalMatrixBlock::operator=(const BOOM::BlockDiagonalMatrixBlock&)’:
Models/StateSpace/Filters/SparseMatrix.cpp:663:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
663 | for (int i = 0; i < rhs.blocks_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::BlockDiagonalMatrixBlock::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:687:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
687 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::BlockDiagonalMatrixBlock::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:700:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
700 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::BlockDiagonalMatrixBlock::Tmult(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:713:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
713 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::BlockDiagonalMatrixBlock::multiply_inplace(BOOM::VectorView) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:725:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
725 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::BlockDiagonalMatrixBlock::matrix_multiply_inplace(BOOM::SubMatrix) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:736:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
736 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::BlockDiagonalMatrixBlock::matrix_transpose_premultiply_inplace(BOOM::SubMatrix) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:751:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
751 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::SpdMatrix BOOM::BlockDiagonalMatrixBlock::inner() const’:
Models/StateSpace/Filters/SparseMatrix.cpp:765:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
765 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::SpdMatrix BOOM::BlockDiagonalMatrixBlock::inner(const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:778:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
778 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::BlockDiagonalMatrixBlock::add_to_block(BOOM::SubMatrix) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:793:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
793 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In copy constructor ‘BOOM::StackedMatrixBlock::StackedMatrixBlock(const BOOM::StackedMatrixBlock&)’:
Models/StateSpace/Filters/SparseMatrix.cpp:805:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
805 | for (int b = 0; b < rhs.blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘BOOM::StackedMatrixBlock& BOOM::StackedMatrixBlock::operator=(const BOOM::StackedMatrixBlock&)’:
Models/StateSpace/Filters/SparseMatrix.cpp:816:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
816 | for (int b = 0; b < rhs.blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::StackedMatrixBlock::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:849:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
849 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::StackedMatrixBlock::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:862:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
862 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::StackedMatrixBlock::Tmult(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:877:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
877 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::SpdMatrix BOOM::StackedMatrixBlock::inner() const’:
Models/StateSpace/Filters/SparseMatrix.cpp:892:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
892 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::SpdMatrix BOOM::StackedMatrixBlock::inner(const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:904:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
904 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::StackedMatrixBlock::add_to_block(BOOM::SubMatrix) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:917:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
917 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::Matrix BOOM::StackedMatrixBlock::dense() const’:
Models/StateSpace/Filters/SparseMatrix.cpp:928:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
928 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘void BOOM::DiagonalMatrixParamView::ensure_current() const’:
Models/StateSpace/Filters/SparseMatrix.cpp:1025:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1025 | for (int i = 0; i < diagonal_elements_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::SparseDiagonalMatrixBlockParamView::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:1060:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1060 | for (int i = 0; i < positions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::SparseDiagonalMatrixBlockParamView::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:1070:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1070 | for (int i = 0; i < positions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::SparseDiagonalMatrixBlockParamView::multiply_inplace(BOOM::VectorView) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:1083:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1083 | for (int i = 0; i < positions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::SpdMatrix BOOM::SparseDiagonalMatrixBlockParamView::inner() const’:
Models/StateSpace/Filters/SparseMatrix.cpp:1097:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1097 | for (int i = 0; i < positions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::SpdMatrix BOOM::SparseDiagonalMatrixBlockParamView::inner(const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:1109:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1109 | for (int i = 0; i < positions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::SparseDiagonalMatrixBlockParamView::add_to_block(BOOM::SubMatrix) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:1119:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1119 | for (int i = 0; i < positions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::StackedRegressionCoefficients::Tmult(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:1660:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1660 | for (size_t i = 0; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp:1662:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1662 | for (size_t j = 0; j < rhs.size(); ++j) {
| ~~^~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In function ‘void BOOM::block_multiply_view(VectorView, const ConstVectorView&, int, int, const std::vector<Ptr<SparseMatrixBlock> >&)’:
Models/StateSpace/Filters/SparseMatrix.cpp:1919:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1919 | for (int b = 0; b < blocks.size(); ++b) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In function ‘void BOOM::block_multiply_and_add(VectorView, const ConstVectorView&, int, int, const std::vector<Ptr<SparseMatrixBlock> >&)’:
Models/StateSpace/Filters/SparseMatrix.cpp:1953:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1953 | for (int b = 0; b < blocks.size(); ++b) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In function ‘void BOOM::block_transpose_multiply_view(VectorView, const ConstVectorView&, int, int, const std::vector<Ptr<SparseMatrixBlock> >&)’:
Models/StateSpace/Filters/SparseMatrix.cpp:1984:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1984 | for (int b = 0; b < blocks.size(); ++b) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In function ‘BOOM::SpdMatrix BOOM::{anonymous}::block_sandwich(const BOOM::SpdMatrix&, int, int, const std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >&, const std::vector<int>&, const std::vector<int>&)’:
Models/StateSpace/Filters/SparseMatrix.cpp:2088:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2088 | for (int i = 0; i < blocks.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp:2093:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2093 | for (int j = i; j < blocks.size(); ++j) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::SpdMatrix BOOM::BlockDiagonalMatrix::inner() const’:
Models/StateSpace/Filters/SparseMatrix.cpp:2134:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2134 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::SpdMatrix BOOM::BlockDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:2150:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2150 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::BlockDiagonalMatrix::sandwich_inplace(BOOM::SpdMatrix&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:2169:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2169 | for (int i = 0; i < blocks_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp:2175:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2175 | for (int i = 0; i < blocks_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual void BOOM::BlockDiagonalMatrix::sandwich_inplace_submatrix(BOOM::SubMatrix) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:2184:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2184 | for (int i = 0; i < blocks_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp:2185:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2185 | for (int j = 0; j < blocks_.size(); ++j) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::Matrix& BOOM::BlockDiagonalMatrix::add_to(BOOM::Matrix&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:2224:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2224 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::SubMatrix BOOM::BlockDiagonalMatrix::add_to_submatrix(BOOM::SubMatrix) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:2232:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2232 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::Vector BOOM::SparseVerticalStripMatrix::Tmult(const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:2283:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2283 | for (int i = 0; i < blocks_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::SpdMatrix BOOM::SparseVerticalStripMatrix::inner() const’:
Models/StateSpace/Filters/SparseMatrix.cpp:2295:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2295 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp:2299:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2299 | for (int b0 = 0; b0 < blocks_.size(); ++b0) {
| ~~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp:2304:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2304 | for (int b1 = b0; b1 < blocks_.size(); ++b1) {
| ~~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::SpdMatrix BOOM::SparseVerticalStripMatrix::inner(const BOOM::ConstVectorView&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:2322:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2322 | for (int b = 0; b < blocks_.size(); ++b) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp:2327:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2327 | for (int b0 = 0; b0 < blocks_.size(); ++b0) {
| ~~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp:2332:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2332 | for (int b1 = b0; b1 < blocks_.size(); ++b1) {
| ~~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::Matrix& BOOM::SparseVerticalStripMatrix::add_to(BOOM::Matrix&) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:2347:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2347 | for (int i = 0; i < blocks_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In member function ‘virtual BOOM::SubMatrix BOOM::SparseVerticalStripMatrix::add_to_submatrix(BOOM::SubMatrix) const’:
Models/StateSpace/Filters/SparseMatrix.cpp:2359:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2359 | for (int i = 0; i < blocks_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In instantiation of ‘BOOM::Vector BOOM::{anonymous}::block_multiply_impl(const std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >&, const VECTOR&) [with VECTOR = BOOM::Vector]’:
Models/StateSpace/Filters/SparseMatrix.cpp:2268:31: required from here
2268 | return block_multiply_impl(blocks_, v);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp:2246:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2246 | for (int i = 0; i < blocks.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In instantiation of ‘BOOM::Vector BOOM::{anonymous}::block_multiply_impl(const std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >&, const VECTOR&) [with VECTOR = BOOM::VectorView]’:
Models/StateSpace/Filters/SparseMatrix.cpp:2272:31: required from here
2272 | return block_multiply_impl(blocks_, v);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp:2246:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2246 | for (int i = 0; i < blocks.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp: In instantiation of ‘BOOM::Vector BOOM::{anonymous}::block_multiply_impl(const std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >&, const VECTOR&) [with VECTOR = BOOM::ConstVectorView]’:
Models/StateSpace/Filters/SparseMatrix.cpp:2276:31: required from here
2276 | return block_multiply_impl(blocks_, v);
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
Models/StateSpace/Filters/SparseMatrix.cpp:2246:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::SparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
2246 | for (int i = 0; i < blocks.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Filters/SparseVector.cpp -o Models/StateSpace/Filters/SparseVector.o
Models/StateSpace/Filters/SparseVector.cpp: In member function ‘void BOOM::SparseVector::add_this_to(BOOM::Vector&, double) const’:
Models/StateSpace/Filters/SparseVector.cpp:172:18: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare]
172 | if (x.size() != size_) {
| ~~~~~~~~~^~~~~~~~
Models/StateSpace/Filters/SparseVector.cpp: In instantiation of ‘double BOOM::do_dot(const VEC&, const std::map<int, double>&, int) [with VEC = Vector]’:
Models/StateSpace/Filters/SparseVector.cpp:124:18: required from here
124 | return do_dot(v, elements_, size_);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Filters/SparseVector.cpp:109:18: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
109 | if (v.size() != size) {
| ~~~~~~~~~^~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/PosteriorSamplers/AggregatedStateSpacePosteriorSampler.cpp -o Models/StateSpace/PosteriorSamplers/AggregatedStateSpacePosteriorSampler.o
In file included from ../inst/include/Models/StateSpace/Filters/SparseKalmanTools.hpp:25,
from ../inst/include/Models/StateSpace/AggregatedStateSpaceRegression.hpp:22,
from ../inst/include/Models/StateSpace/PosteriorSamplers/AggregatedStateSpacePosteriorSampler.hpp:23,
from Models/StateSpace/PosteriorSamplers/AggregatedStateSpacePosteriorSampler.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateSpaceRegressionModel.hpp:33,
from ../inst/include/Models/StateSpace/AggregatedStateSpaceRegression.hpp:27:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/EmMixtureComponent.hpp:23,
from ../inst/include/Models/Glm/RegressionModel.hpp:27,
from ../inst/include/Models/StateSpace/StateModels/RegressionStateModel.hpp:23,
from ../inst/include/Models/StateSpace/AggregatedStateSpaceRegression.hpp:25:
../inst/include/Models/ModelTypes.hpp: At global scope:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GaussianModel.hpp:22,
from ../inst/include/Models/StateSpace/AggregatedStateSpaceRegression.hpp:29:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/PosteriorSamplers/DynamicRegressionArPosteriorSampler.cpp -o Models/StateSpace/PosteriorSamplers/DynamicRegressionArPosteriorSampler.o
In file included from ../inst/include/Models/StateSpace/StateModels/DynamicRegressionArStateModel.hpp:26,
from ../inst/include/Models/StateSpace/PosteriorSamplers/DynamicRegressionArPosteriorSampler.hpp:23,
from Models/StateSpace/PosteriorSamplers/DynamicRegressionArPosteriorSampler.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/StateModels/DynamicRegressionArStateModel.hpp: In member function ‘virtual BOOM::SparseVector BOOM::DynamicRegressionArStateModel::observation_matrix(int) const’:
../inst/include/Models/StateSpace/StateModels/DynamicRegressionArStateModel.hpp:121:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GenericSparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
121 | if (t >= expanded_predictors_.size()) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/Policies/PriorPolicy.hpp:25,
from ../inst/include/Models/StateSpace/StateModels/DynamicRegressionArStateModel.hpp:25:
../inst/include/Models/PosteriorSamplers/PosteriorSampler.hpp: At global scope:
../inst/include/Models/PosteriorSamplers/PosteriorSampler.hpp:83:20: warning: ‘virtual double BOOM::PosteriorSampler::log_prior_density(const BOOM::ConstVectorView&) const’ was hidden [-Woverloaded-virtual=]
83 | virtual double log_prior_density(const ConstVectorView ¶meters) const;
| ^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/PosteriorSamplers/DynamicRegressionArPosteriorSampler.hpp:24:
../inst/include/Models/TimeSeries/PosteriorSamplers/ArPosteriorSampler.hpp:65:12: note: by ‘virtual double BOOM::ArPosteriorSampler::log_prior_density(const BOOM::Model&) const’
65 | double log_prior_density(const Model &model) const override;
| ^~~~~~~~~~~~~~~~~
Models/StateSpace/PosteriorSamplers/DynamicRegressionArPosteriorSampler.cpp: In constructor ‘BOOM::DynamicRegressionArPosteriorSampler::DynamicRegressionArPosteriorSampler(BOOM::DynamicRegressionArStateModel*, const std::vector<BOOM::Ptr<BOOM::GammaModelBase> >&, BOOM::RNG&)’:
Models/StateSpace/PosteriorSamplers/DynamicRegressionArPosteriorSampler.cpp:32:30: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::GammaModelBase> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
32 | if (siginv_priors.size() != model_->xdim()) {
| ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/PosteriorSamplers/DynamicRegressionDirectGibbs.cpp -o Models/StateSpace/PosteriorSamplers/DynamicRegressionDirectGibbs.o
In file included from ../inst/include/Models/StateSpace/DynamicRegression.hpp:28,
from ../inst/include/Models/StateSpace/PosteriorSamplers/DynamicRegressionDirectGibbs.hpp:22,
from Models/StateSpace/PosteriorSamplers/DynamicRegressionDirectGibbs.cpp:19:
../inst/include/Models/MarkovModel.hpp: In copy constructor ‘BOOM::TimeSeries<D>::TimeSeries(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:105:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
105 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/MarkovModel.hpp: In member function ‘BOOM::TimeSeries<D>& BOOM::TimeSeries<D>::operator=(const BOOM::TimeSeries<D>&) [with D = BOOM::MarkovData]’:
../inst/include/Models/MarkovModel.hpp:122:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
122 | for (size_t i = 0; i < rhs.size(); ++i) {
| ~~^~~~~~~~~~~~
In file included from ../inst/include/Models/Policies/ManyParamPolicy.hpp:28,
from ../inst/include/Models/StateSpace/DynamicRegression.hpp:24:
../inst/include/Models/ModelTypes.hpp: At global scope:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23,
from ../inst/include/Models/StateSpace/DynamicRegression.hpp:29:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/StateSpace/DynamicRegression.hpp: In member function ‘int BOOM::TimeSeriesRegressionDataPolicy::sample_size() const’:
../inst/include/Models/StateSpace/DynamicRegression.hpp:368:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::StateSpace::RegressionDataTimePoint>, std::allocator<BOOM::Ptr<BOOM::StateSpace::RegressionDataTimePoint> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
368 | for (int i = 0; i < data_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.cpp -o Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/PosteriorSamplers/StateSpaceLogitPosteriorSampler.cpp -o Models/StateSpace/PosteriorSamplers/StateSpaceLogitPosteriorSampler.o
In file included from ../inst/include/Models/StateSpace/StateModels/DynamicRegressionStateModel.hpp:25,
from ../inst/include/Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.hpp:25,
from Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.hpp:22:
../inst/include/Models/ModelTypes.hpp: At global scope:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23,
from ../inst/include/Models/StateSpace/StateModels/DynamicRegressionStateModel.hpp:28:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.cpp: In constructor ‘BOOM::DynamicRegressionIndependentPosteriorSampler::DynamicRegressionIndependentPosteriorSampler(BOOM::DynamicRegressionStateModel*, const std::vector<BOOM::Ptr<BOOM::GammaModelBase> >&, BOOM::RNG&)’:
Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.cpp:41:24: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::GammaModelBase> >::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
41 | if (priors_.size() != model_->xdim()) {
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.cpp:46:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GammaModelBase> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
46 | for (int i = 0; i < priors_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.cpp: In member function ‘virtual BOOM::{anonymous}::DRIPS* BOOM::DynamicRegressionIndependentPosteriorSampler::clone_to_new_host(BOOM::Model*) const’:
Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.cpp:60:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::GenericGaussianVarianceSampler>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
60 | for (int i = 0; i < samplers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.cpp: In member function ‘virtual void BOOM::DynamicRegressionIndependentPosteriorSampler::draw()’:
Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.cpp:67:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::GenericGaussianVarianceSampler>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
67 | for (int i = 0; i < samplers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.cpp: In member function ‘virtual double BOOM::DynamicRegressionIndependentPosteriorSampler::logpri() const’:
Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.cpp:76:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::GenericGaussianVarianceSampler>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
76 | for (int i = 0; i < samplers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.hpp:23,
from ../inst/include/Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.hpp:23,
from ../inst/include/Models/StateSpace/PosteriorSamplers/StateSpaceLogitPosteriorSampler.hpp:24,
from Models/StateSpace/PosteriorSamplers/StateSpaceLogitPosteriorSampler.cpp:19:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33,
from ../inst/include/Models/StateSpace/PosteriorSamplers/StateSpacePosteriorSampler.hpp:23,
from ../inst/include/Models/StateSpace/PosteriorSamplers/StateSpaceLogitPosteriorSampler.hpp:25:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/PosteriorSamplers/StateSpaceLogitPosteriorSampler.cpp: In member function ‘virtual void BOOM::StateSpaceLogitPosteriorSampler::impute_nonstate_latent_data()’:
Models/StateSpace/PosteriorSamplers/StateSpaceLogitPosteriorSampler.cpp:84:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::StateSpace::AugmentedBinomialRegressionData>, std::allocator<BOOM::Ptr<BOOM::StateSpace::AugmentedBinomialRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
84 | for (int t = 0; t < data.size(); ++t) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/PosteriorSamplers/StateSpacePoissonPosteriorSampler.cpp -o Models/StateSpace/PosteriorSamplers/StateSpacePoissonPosteriorSampler.o
In file included from ../inst/include/Models/PosteriorSamplers/Imputer.hpp:31,
from ../inst/include/Models/Glm/PosteriorSamplers/PoissonRegressionAuxMixSampler.hpp:30,
from ../inst/include/Models/Glm/PosteriorSamplers/PoissonRegressionSpikeSlabSampler.hpp:24,
from ../inst/include/Models/StateSpace/PosteriorSamplers/StateSpacePoissonPosteriorSampler.hpp:24,
from Models/StateSpace/PosteriorSamplers/StateSpacePoissonPosteriorSampler.cpp:19:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/PosteriorSamplers/Imputer.hpp: In member function ‘int BOOM::ParallelLatentDataImputer::number_of_observations_managed() const’:
../inst/include/Models/PosteriorSamplers/Imputer.hpp:218:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LatentDataImputerWorker> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
218 | for (int i = 0; i < workers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33,
from ../inst/include/Models/StateSpace/PosteriorSamplers/StateSpacePosteriorSampler.hpp:23,
from ../inst/include/Models/StateSpace/PosteriorSamplers/StateSpacePoissonPosteriorSampler.hpp:25:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/PosteriorSamplers/StateSpacePoissonPosteriorSampler.cpp: In member function ‘virtual void BOOM::StateSpacePoissonPosteriorSampler::impute_nonstate_latent_data()’:
Models/StateSpace/PosteriorSamplers/StateSpacePoissonPosteriorSampler.cpp:81:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::StateSpace::AugmentedPoissonRegressionData>, std::allocator<BOOM::Ptr<BOOM::StateSpace::AugmentedPoissonRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
81 | for (int t = 0; t < data.size(); ++t) {
| ~~^~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/PosteriorSamplers/StateSpacePosteriorSampler.cpp -o Models/StateSpace/PosteriorSamplers/StateSpacePosteriorSampler.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/PosteriorSamplers/StateSpacePosteriorSampler.hpp:23,
from Models/StateSpace/PosteriorSamplers/StateSpacePosteriorSampler.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/PosteriorSamplers/StateSpaceStudentPosteriorSampler.cpp -o Models/StateSpace/PosteriorSamplers/StateSpaceStudentPosteriorSampler.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/PosteriorSamplers/StateSpacePosteriorSampler.hpp:23,
from ../inst/include/Models/StateSpace/PosteriorSamplers/StateSpaceStudentPosteriorSampler.hpp:25,
from Models/StateSpace/PosteriorSamplers/StateSpaceStudentPosteriorSampler.cpp:22:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/PosteriorSamplers/StateSpaceStudentPosteriorSampler.cpp: In member function ‘virtual void BOOM::StateSpaceStudentPosteriorSampler::impute_nonstate_latent_data()’:
Models/StateSpace/PosteriorSamplers/StateSpaceStudentPosteriorSampler.cpp:62:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::StateSpace::AugmentedStudentRegressionData>, std::allocator<BOOM::Ptr<BOOM::StateSpace::AugmentedStudentRegressionData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
62 | for (int t = 0; t < data.size(); ++t) {
| ~~^~~~~~~~~~~~~
Models/StateSpace/PosteriorSamplers/StateSpaceStudentPosteriorSampler.cpp: In member function ‘void BOOM::StateSpaceStudentPosteriorSampler::clear_complete_data_sufficient_statistics()’:
Models/StateSpace/PosteriorSamplers/StateSpaceStudentPosteriorSampler.cpp:90:51: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::GlmData<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
90 | if (model_->observation_model()->dat().size() !=
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
91 | model_->total_sample_size()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/PosteriorSamplers/StudentLocalLinearTrendPosteriorSampler.cpp -o Models/StateSpace/PosteriorSamplers/StudentLocalLinearTrendPosteriorSampler.o
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from ../inst/include/Models/StateSpace/StateModels/StudentLocalLinearTrend.hpp:27,
from ../inst/include/Models/StateSpace/PosteriorSamplers/StudentLocalLinearTrendPosteriorSampler.hpp:25,
from Models/StateSpace/PosteriorSamplers/StudentLocalLinearTrendPosteriorSampler.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/ArStateModel.cpp -o Models/StateSpace/StateModels/ArStateModel.o
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from ../inst/include/Models/StateSpace/StateModels/ArStateModel.hpp:23,
from Models/StateSpace/StateModels/ArStateModel.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/ArStateModel.cpp: In member function ‘virtual BOOM::Vector BOOM::ArStateModel::initial_state_mean() const’:
Models/StateSpace/StateModels/ArStateModel.cpp:119:36: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
119 | if (initial_state_mean_.size() != state_dimension()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/ArStateModel.cpp: In member function ‘void BOOM::ArStateModel::set_initial_state_mean(const BOOM::Vector&)’:
Models/StateSpace/StateModels/ArStateModel.cpp:148:19: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
148 | if (mu.size() != state_dimension()) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/Glm/RegressionModel.hpp:33,
from ../inst/include/Models/TimeSeries/ArModel.hpp:24,
from ../inst/include/Models/StateSpace/StateModels/ArStateModel.hpp:24:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::ArSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::ArSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/TimeSeries/ArModel.hpp:85:9: required from here
85 | class ArModel : public GlmModel,
| ^~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/DynamicRegressionArStateModel.cpp -o Models/StateSpace/StateModels/DynamicRegressionArStateModel.o
In file included from ../inst/include/Models/StateSpace/StateModels/DynamicRegressionArStateModel.hpp:26,
from Models/StateSpace/StateModels/DynamicRegressionArStateModel.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/StateModels/DynamicRegressionArStateModel.hpp: In member function ‘virtual BOOM::SparseVector BOOM::DynamicRegressionArStateModel::observation_matrix(int) const’:
../inst/include/Models/StateSpace/StateModels/DynamicRegressionArStateModel.hpp:121:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GenericSparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
121 | if (t >= expanded_predictors_.size()) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/DynamicRegressionArStateModel.cpp: In member function ‘BOOM::{anonymous}::DRASM& BOOM::DynamicRegressionArStateModel::operator=(const BOOM::{anonymous}::DRASM&)’:
Models/StateSpace/StateModels/DynamicRegressionArStateModel.cpp:73:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GenericSparseMatrixBlock> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
73 | for (int i = 0; i < rhs.expanded_predictors_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/DynamicRegressionArStateModel.cpp: In member function ‘virtual void BOOM::DynamicRegressionArStateModel::clear_data()’:
Models/StateSpace/StateModels/DynamicRegressionArStateModel.cpp:92:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ArModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
92 | for (int i = 0; i < coefficient_transition_model_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/DynamicRegressionArStateModel.cpp: In member function ‘virtual void BOOM::DynamicRegressionArStateModel::simulate_state_error(BOOM::RNG&, BOOM::VectorView, int) const’:
Models/StateSpace/StateModels/DynamicRegressionArStateModel.cpp:126:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ArModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
126 | for (int i = 0; i < coefficient_transition_model_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/DynamicRegressionArStateModel.cpp: In member function ‘void BOOM::DynamicRegressionArStateModel::set_xnames(const std::vector<std::__cxx11::basic_string<char> >&)’:
Models/StateSpace/StateModels/DynamicRegressionArStateModel.cpp:170:22: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
170 | if (names.size() != xdim()) {
| ~~~~~~~~~~~~~^~~~~~~~~
Models/StateSpace/StateModels/DynamicRegressionArStateModel.cpp: In member function ‘void BOOM::DynamicRegressionArStateModel::add_to_predictors(const std::vector<BOOM::Matrix>&)’:
Models/StateSpace/StateModels/DynamicRegressionArStateModel.cpp:205:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
205 | for (int t = 0; t < predictors.size(); ++t) {
| ~~^~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp -o Models/StateSpace/StateModels/DynamicRegressionStateModel.o
In file included from ../inst/include/Models/StateSpace/StateModels/DynamicRegressionStateModel.hpp:25,
from Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/Policies/CompositeParamPolicy.hpp:28,
from ../inst/include/Models/StateSpace/StateModels/DynamicRegressionStateModel.hpp:22:
../inst/include/Models/ModelTypes.hpp: At global scope:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23,
from ../inst/include/Models/StateSpace/StateModels/DynamicRegressionStateModel.hpp:28:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:27,
from Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp:21:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp: In constructor ‘BOOM::DynamicRegressionStateModel::DynamicRegressionStateModel(const std::vector<BOOM::Matrix>&)’:
Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp:54:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
54 | for (int i = 0; i < predictors.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp: In member function ‘void BOOM::DynamicRegressionStateModel::compute_predictor_variance()’:
Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp:67:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::DenseMatrix> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
67 | for (int i = 0; i < sparse_predictor_matrices_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp: In member function ‘int BOOM::DynamicRegressionStateModel::check_columns(const std::vector<BOOM::Matrix>&) const’:
Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp:90:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
90 | for (int i = 0; i < predictors.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp: In member function ‘void BOOM::DynamicRegressionStateModel::set_xnames(const std::vector<std::__cxx11::basic_string<char> >&)’:
Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp:149:23: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
149 | if (xnames.size() != state_dimension()) {
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp: In member function ‘virtual void BOOM::DynamicRegressionStateModel::clear_data()’:
Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp:162:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroMeanGaussianModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
162 | for (int i = 0; i < coefficient_transition_model_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp: In member function ‘virtual void BOOM::DynamicRegressionStateModel::update_complete_data_sufficient_statistics(int, const BOOM::ConstVectorView&, const BOOM::ConstSubMatrix&)’:
Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp:184:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroMeanGaussianModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
184 | for (int s = 0; s < coefficient_transition_model_.size(); ++s) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp: In member function ‘void BOOM::DynamicRegressionStateModel::add_multiplexed_forecast_data(const std::vector<BOOM::Matrix>&)’:
Models/StateSpace/StateModels/DynamicRegressionStateModel.cpp:272:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
272 | for (int t = 0; t < predictors.size(); ++t) {
| ~~^~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:29:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp -o Models/StateSpace/StateModels/GeneralSeasonalStateModel.o
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from ../inst/include/Models/StateSpace/StateModels/GeneralSeasonalStateModel.hpp:21,
from Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp:19:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp: In copy constructor ‘BOOM::GeneralSeasonalLLT::GeneralSeasonalLLT(const BOOM::{anonymous}::GSLLT&)’:
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp:43:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LocalLinearTrendStateModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
43 | for (int s = 0; s < subordinate_models_.size(); ++s) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp: In member function ‘BOOM::{anonymous}::GSLLT& BOOM::GeneralSeasonalLLT::operator=(const BOOM::{anonymous}::GSLLT&)’:
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp:71:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LocalLinearTrendStateModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
71 | for (int i = 0; i < subordinate_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp: In member function ‘virtual void BOOM::GeneralSeasonalLLT::observe_state(const BOOM::ConstVectorView&, const BOOM::ConstVectorView&, int)’:
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp:101:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LocalLinearTrendStateModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
101 | for (int s = 0; s < subordinate_models_.size(); ++s) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp: In member function ‘virtual void BOOM::GeneralSeasonalLLT::observe_initial_state(const BOOM::ConstVectorView&)’:
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp:110:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LocalLinearTrendStateModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
110 | for (int s = 0; s < subordinate_models_.size(); ++s) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp: In member function ‘virtual void BOOM::GeneralSeasonalLLT::simulate_state_error(BOOM::RNG&, BOOM::VectorView, int) const’:
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp:130:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LocalLinearTrendStateModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
130 | for (int s = 0; s < subordinate_models_.size(); ++s) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp: In member function ‘void BOOM::GeneralSeasonalLLT::set_initial_state_mean(const BOOM::Vector&)’:
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp:144:35: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
144 | if (initial_state_mean.size() != state_dimension()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp: In member function ‘void BOOM::GeneralSeasonalLLT::build_state_matrices()’:
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp:197:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LocalLinearTrendStateModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
197 | for (int i = 0; i < subordinate_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/GeneralSeasonalStateModel.cpp:210:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::LocalLinearTrendStateModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
210 | for (int i = 0; i < subordinate_models_.size(); ++i ) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/HierarchicalRegressionHolidayStateModel.cpp -o Models/StateSpace/StateModels/HierarchicalRegressionHolidayStateModel.o
In file included from ../inst/include/Models/StateSpace/StateModels/HierarchicalRegressionHolidayStateModel.hpp:28,
from Models/StateSpace/StateModels/HierarchicalRegressionHolidayStateModel.cpp:19:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/EmMixtureComponent.hpp:23,
from ../inst/include/Models/Glm/RegressionModel.hpp:27,
from ../inst/include/Models/Hierarchical/HierarchicalGaussianRegressionModel.hpp:23,
from ../inst/include/Models/StateSpace/StateModels/HierarchicalRegressionHolidayStateModel.hpp:24:
../inst/include/Models/ModelTypes.hpp: At global scope:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GaussianModel.hpp:22,
from ../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp:24,
from ../inst/include/Models/StateSpace/StateModels/HierarchicalRegressionHolidayStateModel.hpp:31:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp:30:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp: In member function ‘const BOOM::Holiday* BOOM::RegressionHolidayBaseImpl::holiday(int) const’:
../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp:69:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::Holiday> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
69 | return (t >= 0 && t < holidays_.size()) ? holidays_[t].get() : nullptr;
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp: In member function ‘int BOOM::RegressionHolidayBaseImpl::which_holiday(int) const’:
../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp:111:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
111 | return (t >= 0 && t < which_holiday_.size()) ? which_holiday_[t] : -1;
| ~~^~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp: In member function ‘int BOOM::RegressionHolidayBaseImpl::which_day(int) const’:
../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp:121:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
121 | return (t >= 0 && t < which_day_.size()) ? which_day_[t] : -1;
| ~~^~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/HierarchicalRegressionHolidayStateModel.cpp: In member function ‘virtual void BOOM::DynamicInterceptHierarchicalRegressionHolidayStateModel::observe_state(const BOOM::ConstVectorView&, const BOOM::ConstVectorView&, int)’:
Models/StateSpace/StateModels/HierarchicalRegressionHolidayStateModel.cpp:123:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
123 | for (int i = 0; i < residual.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:29,
from Models/StateSpace/StateModels/HierarchicalRegressionHolidayStateModel.cpp:20:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/Holiday.cpp -o Models/StateSpace/StateModels/Holiday.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/LocalLevelStateModel.cpp -o Models/StateSpace/StateModels/LocalLevelStateModel.o
Models/StateSpace/StateModels/Holiday.cpp: In constructor ‘BOOM::DateRangeHoliday::DateRangeHoliday(const std::vector<BOOM::Date>&, const std::vector<BOOM::Date>&)’:
Models/StateSpace/StateModels/Holiday.cpp:150:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Date>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
150 | for (int i = 0; i < from.size(); ++i) {
| ~~^~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from ../inst/include/Models/StateSpace/StateModels/LocalLevelStateModel.hpp:23,
from Models/StateSpace/StateModels/LocalLevelStateModel.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateModels/LocalLevelStateModel.hpp:24:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:23:
../inst/include/Models/ModelTypes.hpp: At global scope:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23,
from ../inst/include/Models/StateSpace/StateModels/LocalLevelStateModel.hpp:25:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GammaModel.hpp:29,
from ../inst/include/Models/ZeroMeanGaussianModel.hpp:22:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:82:9: required from here
82 | class GaussianModelBase
| ^~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:29,
from ../inst/include/Models/StateSpace/StateModels/LocalLevelStateModel.hpp:30:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/LocalLinearTrend.cpp -o Models/StateSpace/StateModels/LocalLinearTrend.o
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from ../inst/include/Models/StateSpace/StateModels/LocalLinearTrend.hpp:23,
from Models/StateSpace/StateModels/LocalLinearTrend.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:27,
from Models/StateSpace/StateModels/LocalLinearTrend.cpp:21:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanMvnModel.hpp:25,
from ../inst/include/Models/StateSpace/StateModels/LocalLinearTrend.hpp:24:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::VectorData; S = BOOM::MvnSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::VectorData; S = BOOM::MvnSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/ZeroMeanMvnModel.hpp:31:9: required from here
31 | class ZeroMeanMvnModel : public MvnBase,
| ^~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:29:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/RandomWalkHolidayStateModel.cpp -o Models/StateSpace/StateModels/RandomWalkHolidayStateModel.o
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from ../inst/include/Models/StateSpace/StateModels/RandomWalkHolidayStateModel.hpp:24,
from Models/StateSpace/StateModels/RandomWalkHolidayStateModel.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:23:
../inst/include/Models/ModelTypes.hpp: At global scope:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23,
from ../inst/include/Models/StateSpace/StateModels/RandomWalkHolidayStateModel.hpp:25:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/GammaModel.hpp:29,
from ../inst/include/Models/ZeroMeanGaussianModel.hpp:22:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:82:9: required from here
82 | class GaussianModelBase
| ^~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/RegressionHolidayStateModel.cpp -o Models/StateSpace/StateModels/RegressionHolidayStateModel.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GaussianModelBase.hpp:24,
from ../inst/include/Models/GaussianModel.hpp:22,
from ../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp:24,
from Models/StateSpace/StateModels/RegressionHolidayStateModel.cpp:19:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp:30:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp: In member function ‘const BOOM::Holiday* BOOM::RegressionHolidayBaseImpl::holiday(int) const’:
../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp:69:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::Holiday> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
69 | return (t >= 0 && t < holidays_.size()) ? holidays_[t].get() : nullptr;
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp: In member function ‘int BOOM::RegressionHolidayBaseImpl::which_holiday(int) const’:
../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp:111:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
111 | return (t >= 0 && t < which_holiday_.size()) ? which_holiday_[t] : -1;
| ~~^~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp: In member function ‘int BOOM::RegressionHolidayBaseImpl::which_day(int) const’:
../inst/include/Models/StateSpace/StateModels/RegressionHolidayStateModel.hpp:121:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
121 | return (t >= 0 && t < which_day_.size()) ? which_day_[t] : -1;
| ~~^~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/RegressionHolidayStateModel.cpp: In member function ‘void BOOM::RegressionHolidayBaseImpl::observe_time_dimension(int)’:
Models/StateSpace/StateModels/RegressionHolidayStateModel.cpp:46:31: warning: comparison of integer expressions of different signedness: ‘std::vector<int>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
46 | if (which_holiday_.size() == max_time) return;
| ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
Models/StateSpace/StateModels/RegressionHolidayStateModel.cpp:53:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::Holiday> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
53 | for (int h = 0; h < holidays_.size(); ++h) {
| ~~^~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/RegressionHolidayStateModel.cpp: In copy constructor ‘BOOM::RegressionHolidayStateModel::RegressionHolidayStateModel(const BOOM::{anonymous}::RHSM&)’:
Models/StateSpace/StateModels/RegressionHolidayStateModel.cpp:134:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VectorParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
134 | for (int i = 0; i < holiday_mean_contributions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/RegressionHolidayStateModel.cpp: In member function ‘BOOM::{anonymous}::RHSM& BOOM::RegressionHolidayStateModel::operator=(const BOOM::{anonymous}::RHSM&)’:
Models/StateSpace/StateModels/RegressionHolidayStateModel.cpp:152:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VectorParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
152 | for (int i = 0; i < holiday_mean_contributions_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/RegressionHolidayStateModel.cpp: In member function ‘virtual void BOOM::RegressionHolidayStateModel::sample_posterior()’:
Models/StateSpace/StateModels/RegressionHolidayStateModel.cpp:165:29: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
165 | for (int day = 0; day < holiday_pattern.size(); ++day) {
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/RegressionStateModel.cpp -o Models/StateSpace/StateModels/RegressionStateModel.o
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:29,
from Models/StateSpace/StateModels/RegressionHolidayStateModel.cpp:20:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from ../inst/include/Models/StateSpace/StateModels/RegressionStateModel.hpp:27,
from Models/StateSpace/StateModels/RegressionStateModel.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:27,
from Models/StateSpace/StateModels/RegressionStateModel.cpp:21:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/RegressionStateModel.cpp: In member function ‘void BOOM::RegressionStateModel::add_predictor_data(const std::vector<BOOM::Matrix>&)’:
Models/StateSpace/StateModels/RegressionStateModel.cpp:116:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Matrix>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
116 | for (int i = 0; i < predictors.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:29:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/SeasonalStateModel.cpp -o Models/StateSpace/StateModels/SeasonalStateModel.o
In file included from ../inst/include/Models/StateSpace/StateModels/SeasonalStateModel.hpp:22,
from Models/StateSpace/StateModels/SeasonalStateModel.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:23,
from ../inst/include/Models/StateSpace/StateModels/SeasonalStateModel.hpp:24:
../inst/include/Models/ModelTypes.hpp: At global scope:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23,
from ../inst/include/Models/StateSpace/StateModels/SeasonalStateModel.hpp:25:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
Models/StateSpace/StateModels/SeasonalStateModel.cpp: In member function ‘virtual void BOOM::SeasonalStateModelBase::simulate_state_error(BOOM::RNG&, BOOM::VectorView, int) const’:
Models/StateSpace/StateModels/SeasonalStateModel.cpp:114:36: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
114 | if (initial_state_mean_.size() != state_dimension() ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/SeasonalStateModel.cpp: In member function ‘void BOOM::SeasonalStateModelBase::set_initial_state_mean(const BOOM::Vector&)’:
Models/StateSpace/StateModels/SeasonalStateModel.cpp:162:19: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
162 | if (mu.size() != state_dimension()) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/GammaModel.hpp:29,
from ../inst/include/Models/ZeroMeanGaussianModel.hpp:22:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::GaussianSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:82:9: required from here
82 | class GaussianModelBase
| ^~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/SemilocalLinearTrend.cpp -o Models/StateSpace/StateModels/SemilocalLinearTrend.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/StateModel.cpp -o Models/StateSpace/StateModels/StateModel.o
In file included from ../inst/include/Models/StateSpace/StateModels/SemilocalLinearTrend.hpp:25,
from Models/StateSpace/StateModels/SemilocalLinearTrend.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/Policies/CompositeParamPolicy.hpp:28,
from ../inst/include/Models/StateSpace/StateModels/SemilocalLinearTrend.hpp:22:
../inst/include/Models/ModelTypes.hpp: At global scope:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23,
from ../inst/include/Models/StateSpace/StateModels/SemilocalLinearTrend.hpp:29:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from Models/StateSpace/StateModels/StateModel.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:27,
from Models/StateSpace/StateModels/StateModel.cpp:21:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:29:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/StaticInterceptStateModel.cpp -o Models/StateSpace/StateModels/StaticInterceptStateModel.o
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from ../inst/include/Models/StateSpace/StateModels/StaticInterceptStateModel.hpp:22,
from Models/StateSpace/StateModels/StaticInterceptStateModel.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/StudentLocalLinearTrend.cpp -o Models/StateSpace/StateModels/StudentLocalLinearTrend.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:27,
from Models/StateSpace/StateModels/StaticInterceptStateModel.cpp:21:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28,
from ../inst/include/Models/StateSpace/DynamicInterceptRegression.hpp:29:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from ../inst/include/Models/StateSpace/StateModels/StudentLocalLinearTrend.hpp:27,
from Models/StateSpace/StateModels/StudentLocalLinearTrend.cpp:20:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/StudentLocalLinearTrend.cpp: In member function ‘virtual void BOOM::StudentLocalLinearTrendStateModel::observe_time_dimension(int)’:
Models/StateSpace/StateModels/StudentLocalLinearTrend.cpp:76:44: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
76 | if (latent_level_scale_factors_.size() < max_time) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/TrigStateModel.cpp -o Models/StateSpace/StateModels/TrigStateModel.o
In file included from ../inst/include/Models/EmMixtureComponent.hpp:23,
from ../inst/include/Models/IndependentMvnModel.hpp:23,
from ../inst/include/Models/StateSpace/StateModels/TrigStateModel.hpp:23,
from Models/StateSpace/StateModels/TrigStateModel.cpp:19:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/IndependentMvnModel.hpp:24:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateModels/TrigStateModel.hpp:24:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/TrigStateModel.cpp: In constructor ‘BOOM::TrigRegressionStateModel::TrigRegressionStateModel(double, const BOOM::Vector&)’:
Models/StateSpace/StateModels/TrigStateModel.cpp:38:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
38 | for (int i = 0; i < frequencies_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/TrigStateModel.cpp: In member function ‘virtual BOOM::SparseVector BOOM::TrigRegressionStateModel::observation_matrix(int) const’:
Models/StateSpace/StateModels/TrigStateModel.cpp:80:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
80 | for (int i = 0; i < frequencies_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/TrigStateModel.cpp: In member function ‘void BOOM::TrigRegressionStateModel::set_initial_state_mean(const BOOM::Vector&)’:
Models/StateSpace/StateModels/TrigStateModel.cpp:92:21: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
92 | if (mean.size() != state_dimension()) {
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/TrigStateModel.cpp: In constructor ‘BOOM::TrigStateModel::TrigStateModel(double, const BOOM::Vector&)’:
Models/StateSpace/StateModels/TrigStateModel.cpp:127:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
127 | for (int i = 0; i < 2 * frequencies_.size(); i += 2) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/TrigStateModel.cpp:131:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
131 | for (int i = 0; i < frequencies_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/TrigStateModel.cpp: In member function ‘virtual void BOOM::TrigStateModel::observe_state(const BOOM::ConstVectorView&, const BOOM::ConstVectorView&, int)’:
Models/StateSpace/StateModels/TrigStateModel.cpp:191:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
191 | for (int i = 0; i < rotated.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/GaussianModelBase.hpp:27:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::VectorData; S = BOOM::IndependentMvnSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:145:5: required from ‘void BOOM::SufstatDataPolicy<D, S>::set_data(const DatasetType&) [with D = BOOM::VectorData; S = BOOM::IndependentMvnSuf; DatasetType = std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >]’
145 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:143:8: required from here
143 | void SufstatDataPolicy<D, S>::set_data(const DatasetType &d) {
| ^~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::VectorData>, std::allocator<BOOM::Ptr<BOOM::VectorData> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/StateModels/PosteriorSamplers/GeneralSeasonalLLTPosteriorSampler.cpp -o Models/StateSpace/StateModels/PosteriorSamplers/GeneralSeasonalLLTPosteriorSampler.o
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from ../inst/include/Models/StateSpace/StateModels/GeneralSeasonalStateModel.hpp:21,
from ../inst/include/Models/StateSpace/StateModels/PosteriorSamplers/GSLLTPS.hpp:21,
from Models/StateSpace/StateModels/PosteriorSamplers/GeneralSeasonalLLTPosteriorSampler.cpp:19:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/PosteriorSamplers/GeneralSeasonalLLTPosteriorSampler.cpp: In constructor ‘BOOM::GeneralSeasonalLLTPosteriorSampler::GeneralSeasonalLLTPosteriorSampler(BOOM::{anonymous}::GSLLT*, const std::vector<BOOM::Ptr<BOOM::WishartModel> >&, BOOM::RNG&)’:
Models/StateSpace/StateModels/PosteriorSamplers/GeneralSeasonalLLTPosteriorSampler.cpp:38:28: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::WishartModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
38 | if (model_->nseasons() != priors_.size()) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/PosteriorSamplers/GeneralSeasonalLLTPosteriorSampler.cpp: In constructor ‘BOOM::GeneralSeasonalLLTIndependenceSampler::GeneralSeasonalLLTIndependenceSampler(BOOM::GeneralSeasonalLLT*, const std::vector<BOOM::Ptr<BOOM::GammaModelBase> >&, const std::vector<BOOM::Ptr<BOOM::GammaModelBase> >&, BOOM::RNG&)’:
Models/StateSpace/StateModels/PosteriorSamplers/GeneralSeasonalLLTPosteriorSampler.cpp:79:41: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::GammaModelBase> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
79 | if (level_innovation_priors_.size() != model_->nseasons()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/StateModels/PosteriorSamplers/GeneralSeasonalLLTPosteriorSampler.cpp:82:41: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::GammaModelBase> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
82 | if (slope_innovation_priors_.size() != model_->nseasons()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.cpp -o Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:25,
from Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.cpp:19:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.cpp: In member function ‘virtual BOOM::Vector BOOM::ConditionalIidMultivariateStateSpaceModelBase::simulate_fake_observation(BOOM::RNG&, int)’:
Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.cpp:374:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
374 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.cpp: In member function ‘virtual BOOM::Vector BOOM::ConditionallyIndependentMultivariateStateSpaceModelBase::simulate_fake_observation(BOOM::RNG&, int)’:
Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.cpp:419:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
419 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.cpp: In member function ‘BOOM::Matrix BOOM::MultivariateStateSpaceModelBase::state_mean() const’:
Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.cpp:475:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
475 | for (size_t i = 0; i < time_dimension(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionalIidMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionalIidMarginalDistribution, std::allocator<BOOM::Kalman::ConditionalIidMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.cpp -o Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.o
In file included from ../inst/include/Models/EmMixtureComponent.hpp:23,
from ../inst/include/Models/IndependentMvnModel.hpp:23,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:21,
from Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.cpp:19:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/IndependentMvnModel.hpp:24:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from ../inst/include/Models/StateSpace/Multivariate/StateModels/SharedStateModel.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:24:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateSpaceModel.hpp:28,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:28:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Multivariate/StudentMvssRegressionModel.cpp -o Models/StateSpace/Multivariate/StudentMvssRegressionModel.o
In file included from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:26:
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp: In instantiation of ‘bool BOOM::StateSpaceUtils::SharedStateModelManager<PROXY>::has_series_specific_state() const [with PROXY = BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel>]’:
../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:214:54: required from here
214 | return state_manager_.has_series_specific_state();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp:47:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> >, std::allocator<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | for (int i = 0; i < proxy_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp: In instantiation of ‘void BOOM::StateSpaceUtils::SharedStateModelManager<PROXY>::observe_time_dimension(int) [with PROXY = BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel>]’:
../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:380:44: required from here
380 | state_manager_.observe_time_dimension(t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> >, std::allocator<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
86 | for (int m = 0; m < proxy_models_.size(); ++m) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:25:
../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionDataPolicy.hpp: In instantiation of ‘void BOOM::MultivariateStateSpaceRegressionDataPolicy<DATA_TYPE>::add_data(const BOOM::Ptr<Y>&) [with DATA_TYPE = BOOM::MultivariateTimeSeriesRegressionData]’:
Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.cpp:129:26: required from here
129 | data_policy_.add_data(dp);
| ~~~~~~~~~~~~~~~~~~~~~^~~~
../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionDataPolicy.hpp:65:31: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Selector>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
65 | while (observed_.size() <= data_point->timestamp()) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:30:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
In file included from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:23:
../inst/include/Models/Glm/IndependentRegressionModels.hpp: In instantiation of ‘BOOM::IndependentGlms<GLM>::IndependentGlms(const BOOM::IndependentGlms<GLM>&) [with GLM = BOOM::RegressionModel]’:
../inst/include/Models/Glm/IndependentRegressionModels.hpp:63:14: required from ‘BOOM::IndependentGlms<GLM>* BOOM::IndependentGlms<GLM>::clone() const [with GLM = BOOM::RegressionModel]’
63 | return new IndependentGlms(*this);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Glm/IndependentRegressionModels.hpp:62:23: required from here
62 | IndependentGlms * clone() const override {
| ^~~~~
../inst/include/Models/Glm/IndependentRegressionModels.hpp:56:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::RegressionModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
56 | for (int i = 0; i < rhs.models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/EmMixtureComponent.hpp:23,
from ../inst/include/Models/IndependentMvnModel.hpp:23,
from ../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:21,
from Models/StateSpace/Multivariate/StudentMvssRegressionModel.cpp:19:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/IndependentMvnModel.hpp:24:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from ../inst/include/Models/StateSpace/Multivariate/StateModels/SharedStateModel.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:25:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateSpaceModel.hpp:28,
from ../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:26:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/StudentMvssRegressionModel.cpp: In member function ‘void BOOM::StudentMvssRegressionModel::impute_student_weights(BOOM::RNG&)’:
Models/StateSpace/Multivariate/StudentMvssRegressionModel.cpp:150:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
150 | for (size_t time = 0; time < time_dimension(); ++time) {
| ~~~~~^~~~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/StudentMvssRegressionModel.cpp:159:28: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
159 | for (size_t s = 0; s < observed.nvars(); ++s) {
| ~~^~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:26,
from ../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:29:
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp: In instantiation of ‘bool BOOM::StateSpaceUtils::SharedStateModelManager<PROXY>::has_series_specific_state() const [with PROXY = BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel>]’:
../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:214:54: required from here
214 | return state_manager_.has_series_specific_state();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp:47:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> >, std::allocator<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | for (int i = 0; i < proxy_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp: In instantiation of ‘void BOOM::StateSpaceUtils::SharedStateModelManager<PROXY>::observe_time_dimension(int) [with PROXY = BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel>]’:
../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:380:44: required from here
380 | state_manager_.observe_time_dimension(t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> >, std::allocator<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
86 | for (int m = 0; m < proxy_models_.size(); ++m) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp: In instantiation of ‘bool BOOM::StateSpaceUtils::SharedStateModelManager<PROXY>::has_series_specific_state() const [with PROXY = BOOM::ProxyScalarStateSpaceModel<BOOM::StudentMvssRegressionModel>]’:
../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:219:54: required from here
219 | return state_manager_.has_series_specific_state();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp:47:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::StudentMvssRegressionModel> >, std::allocator<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::StudentMvssRegressionModel> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | for (int i = 0; i < proxy_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:25:
../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionDataPolicy.hpp: In instantiation of ‘void BOOM::MultivariateStateSpaceRegressionDataPolicy<DATA_TYPE>::add_data(const BOOM::Ptr<Y>&) [with DATA_TYPE = BOOM::StudentMultivariateTimeSeriesRegressionData]’:
../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:273:28: required from here
273 | data_policy_.add_data(dp);
| ~~~~~~~~~~~~~~~~~~~~~^~~~
../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionDataPolicy.hpp:65:31: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Selector>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
65 | while (observed_.size() <= data_point->timestamp()) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp: In instantiation of ‘void BOOM::StateSpaceUtils::SharedStateModelManager<PROXY>::observe_time_dimension(int) [with PROXY = BOOM::ProxyScalarStateSpaceModel<BOOM::StudentMvssRegressionModel>]’:
../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:407:44: required from here
407 | state_manager_.observe_time_dimension(t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::StudentMvssRegressionModel> >, std::allocator<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::StudentMvssRegressionModel> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
86 | for (int m = 0; m < proxy_models_.size(); ++m) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28,
from ../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:28:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
In file included from ../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:23:
../inst/include/Models/Glm/IndependentRegressionModels.hpp: In instantiation of ‘BOOM::IndependentGlms<GLM>::IndependentGlms(const BOOM::IndependentGlms<GLM>&) [with GLM = BOOM::CompleteDataStudentRegressionModel]’:
../inst/include/Models/Glm/IndependentRegressionModels.hpp:63:14: required from ‘BOOM::IndependentGlms<GLM>* BOOM::IndependentGlms<GLM>::clone() const [with GLM = BOOM::CompleteDataStudentRegressionModel]’
63 | return new IndependentGlms(*this);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/Glm/IndependentRegressionModels.hpp:62:23: required from here
62 | IndependentGlms * clone() const override {
| ^~~~~
../inst/include/Models/Glm/IndependentRegressionModels.hpp:56:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::CompleteDataStudentRegressionModel>, std::allocator<BOOM::Ptr<BOOM::CompleteDataStudentRegressionModel> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
56 | for (int i = 0; i < rhs.models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Multivariate/PosteriorSamplers/MultivariateStateSpaceModelSampler.cpp -o Models/StateSpace/Multivariate/PosteriorSamplers/MultivariateStateSpaceModelSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Multivariate/PosteriorSamplers/MvStateSpaceRegressionPosteriorSampler.cpp -o Models/StateSpace/Multivariate/PosteriorSamplers/MvStateSpaceRegressionPosteriorSampler.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:25,
from ../inst/include/Models/StateSpace/Multivariate/PosteriorSamplers/MVSSMS.hpp:22,
from Models/StateSpace/Multivariate/PosteriorSamplers/MultivariateStateSpaceModelSampler.cpp:19:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/EmMixtureComponent.hpp:23,
from ../inst/include/Models/IndependentMvnModel.hpp:23,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:21,
from ../inst/include/Models/StateSpace/Multivariate/PosteriorSamplers/MVSSRPS.hpp:23,
from Models/StateSpace/Multivariate/PosteriorSamplers/MvStateSpaceRegressionPosteriorSampler.cpp:19:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/IndependentMvnModel.hpp:24:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from ../inst/include/Models/StateSpace/Multivariate/StateModels/SharedStateModel.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:24:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateSpaceModel.hpp:28,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:28:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:26:
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp: In instantiation of ‘bool BOOM::StateSpaceUtils::SharedStateModelManager<PROXY>::has_series_specific_state() const [with PROXY = BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel>]’:
../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:214:54: required from here
214 | return state_manager_.has_series_specific_state();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp:47:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> >, std::allocator<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | for (int i = 0; i < proxy_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp: In instantiation of ‘void BOOM::StateSpaceUtils::SharedStateModelManager<PROXY>::observe_time_dimension(int) [with PROXY = BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel>]’:
../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:380:44: required from here
380 | state_manager_.observe_time_dimension(t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> >, std::allocator<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
86 | for (int m = 0; m < proxy_models_.size(); ++m) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:30:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Multivariate/PosteriorSamplers/SADSampler.cpp -o Models/StateSpace/Multivariate/PosteriorSamplers/SADSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp -o Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/ZeroMeanGaussianModel.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.hpp:23,
from ../inst/include/Models/StateSpace/Multivariate/PosteriorSamplers/SADSampler.hpp:21,
from Models/StateSpace/Multivariate/PosteriorSamplers/SADSampler.cpp:19:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:25,
from ../inst/include/Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.hpp:24:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/ZeroMeanGaussianModel.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/PosteriorSamplers/SLLPS.hpp:21,
from Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp:19:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Multivariate/PosteriorSamplers/StudentMvssPosteriorSampler.cpp -o Models/StateSpace/Multivariate/PosteriorSamplers/StudentMvssPosteriorSampler.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:25,
from ../inst/include/Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.hpp:25:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp: In function ‘void BOOM::{anonymous}::check_slabs(const std::vector<BOOM::Ptr<BOOM::MvnBase> >&, int, int)’:
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp:32:24: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::MvnBase> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
32 | if (slabs.size() != nseries) {
| ~~~~~~~~~~~~~^~~~~~~~~~
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp:35:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MvnBase> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
35 | for (int i = 0; i < slabs.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp: In function ‘void BOOM::{anonymous}::check_spikes(const std::vector<BOOM::Ptr<BOOM::VariableSelectionPrior> >&, int, int)’:
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp:45:25: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Ptr<BOOM::VariableSelectionPrior> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
45 | if (spikes.size() != nseries) {
| ~~~~~~~~~~~~~~^~~~~~~~~~
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp:48:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VariableSelectionPrior> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
48 | for (int i = 0; i < spikes.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp: In function ‘void BOOM::{anonymous}::build_samplers(std::vector<BOOM::SpikeSlabSampler>&, const std::vector<BOOM::Ptr<BOOM::MvnBase> >&, const std::vector<BOOM::Ptr<BOOM::VariableSelectionPrior> >&)’:
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp:64:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VariableSelectionPrior> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
64 | for (int i = 0; i < spikes.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp: In constructor ‘BOOM::GeneralSharedLocalLevelPosteriorSampler::GeneralSharedLocalLevelPosteriorSampler(BOOM::GeneralSharedLocalLevelStateModel*, const std::vector<BOOM::Ptr<BOOM::MvnBase> >&, const std::vector<BOOM::Ptr<BOOM::VariableSelectionPrior> >&, BOOM::RNG&)’:
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp:88:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VariableSelectionPrior> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
88 | for (int i = 0; i < spikes_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp:99:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VariableSelectionPrior> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
99 | for (int i = 0; i < spikes_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp: In member function ‘virtual double BOOM::GeneralSharedLocalLevelPosteriorSampler::logpri() const’:
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp:117:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VariableSelectionPrior> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
117 | for (int i = 0; i < spikes_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp: In member function ‘virtual void BOOM::GeneralSharedLocalLevelPosteriorSampler::draw()’:
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp:140:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::MvnBase> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
140 | for (int i = 0; i < slabs_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp: In member function ‘void BOOM::GeneralSharedLocalLevelPosteriorSampler::limit_model_selection(int)’:
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp:160:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::SpikeSlabSampler>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
160 | for (int i = 0; i < samplers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp: In constructor ‘BOOM::ConditionallyIndependentSharedLocalLevelPosteriorSampler::ConditionallyIndependentSharedLocalLevelPosteriorSampler(BOOM::ConditionallyIndependentSharedLocalLevelStateModel*, const std::vector<BOOM::Ptr<BOOM::MvnBase> >&, const std::vector<BOOM::Ptr<BOOM::VariableSelectionPrior> >&, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&, BOOM::RNG&)’:
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp:186:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::VariableSelectionPrior> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
186 | for (int i = 0; i < spikes_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp: In member function ‘virtual double BOOM::ConditionallyIndependentSharedLocalLevelPosteriorSampler::logpri() const’:
Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.cpp:213:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::SpikeSlabSampler>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
213 | for (int i = 0; i < samplers_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
In file included from ../inst/include/Models/EmMixtureComponent.hpp:23,
from ../inst/include/Models/IndependentMvnModel.hpp:23,
from ../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:21,
from ../inst/include/Models/StateSpace/Multivariate/PosteriorSamplers/StudentMvssPosteriorSampler.hpp:23,
from Models/StateSpace/Multivariate/PosteriorSamplers/StudentMvssPosteriorSampler.cpp:19:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/IndependentMvnModel.hpp:24:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateModels/StateModel.hpp:24,
from ../inst/include/Models/StateSpace/Multivariate/StateModels/SharedStateModel.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:25:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.cpp -o Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.o
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/StateSpaceModel.hpp:28,
from ../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:26:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:26,
from ../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:29:
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp: In instantiation of ‘bool BOOM::StateSpaceUtils::SharedStateModelManager<PROXY>::has_series_specific_state() const [with PROXY = BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel>]’:
../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:214:54: required from here
214 | return state_manager_.has_series_specific_state();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp:47:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> >, std::allocator<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | for (int i = 0; i < proxy_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp: In instantiation of ‘void BOOM::StateSpaceUtils::SharedStateModelManager<PROXY>::observe_time_dimension(int) [with PROXY = BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel>]’:
../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:380:44: required from here
380 | state_manager_.observe_time_dimension(t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> >, std::allocator<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::MultivariateStateSpaceRegressionModel> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
86 | for (int m = 0; m < proxy_models_.size(); ++m) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp: In instantiation of ‘bool BOOM::StateSpaceUtils::SharedStateModelManager<PROXY>::has_series_specific_state() const [with PROXY = BOOM::ProxyScalarStateSpaceModel<BOOM::StudentMvssRegressionModel>]’:
../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:219:54: required from here
219 | return state_manager_.has_series_specific_state();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp:47:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::StudentMvssRegressionModel> >, std::allocator<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::StudentMvssRegressionModel> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
47 | for (int i = 0; i < proxy_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.hpp:25:
../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionDataPolicy.hpp: In instantiation of ‘void BOOM::MultivariateStateSpaceRegressionDataPolicy<DATA_TYPE>::add_data(const BOOM::Ptr<Y>&) [with DATA_TYPE = BOOM::StudentMultivariateTimeSeriesRegressionData]’:
../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:273:28: required from here
273 | data_policy_.add_data(dp);
| ~~~~~~~~~~~~~~~~~~~~~^~~~
../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionDataPolicy.hpp:65:31: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Selector>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
65 | while (observed_.size() <= data_point->timestamp()) {
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp: In instantiation of ‘void BOOM::StateSpaceUtils::SharedStateModelManager<PROXY>::observe_time_dimension(int) [with PROXY = BOOM::ProxyScalarStateSpaceModel<BOOM::StudentMvssRegressionModel>]’:
../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:407:44: required from here
407 | state_manager_.observe_time_dimension(t);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
../inst/include/Models/StateSpace/Multivariate/SharedStateModelManager.hpp:86:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::StudentMvssRegressionModel> >, std::allocator<BOOM::Ptr<BOOM::ProxyScalarStateSpaceModel<BOOM::StudentMvssRegressionModel> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
86 | for (int m = 0; m < proxy_models_.size(); ++m) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28,
from ../inst/include/Models/StateSpace/Multivariate/StudentMvssRegressionModel.hpp:28:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/ZeroMeanGaussianModel.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.hpp:23,
from Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.cpp:19:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:25,
from ../inst/include/Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.hpp:24:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp -o Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.o
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.cpp: In member function ‘virtual void BOOM::ScalarStateModelMultivariateAdapter::observe_state(const BOOM::ConstVectorView&, const BOOM::ConstVectorView&, int)’:
Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.cpp:34:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
34 | for (size_t s = 0; s < component_models_.size(); ++s) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.cpp: In member function ‘virtual void BOOM::ScalarStateModelMultivariateAdapter::simulate_state_error(BOOM::RNG&, BOOM::VectorView, int) const’:
Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.cpp:45:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
45 | for (size_t s = 0; s < component_models_.size(); ++s) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.cpp: In member function ‘virtual void BOOM::ScalarStateModelMultivariateAdapter::simulate_initial_state(BOOM::RNG&, BOOM::VectorView) const’:
Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.cpp:54:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
54 | for (size_t s = 0; s < component_models_.size(); ++s) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/ZeroMeanGaussianModel.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.hpp:22,
from Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp:19:
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/ZeroMeanGaussianModel.hpp:23:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:23,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:25,
from ../inst/include/Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.hpp:25:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/StateSpaceModelBase.hpp:33:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp: In member function ‘BOOM::{anonymous}::SLLSMB& BOOM::SharedLocalLevelStateModelBase::operator=(const BOOM::{anonymous}::SLLSMB&)’:
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp:49:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroMeanGaussianModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
49 | for (int i = 0; i < rhs.innovation_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp: In member function ‘void BOOM::SharedLocalLevelStateModelBase::clear_state_transition_data()’:
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp:80:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroMeanGaussianModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
80 | for (int i = 0; i < innovation_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp: In member function ‘virtual void BOOM::SharedLocalLevelStateModelBase::simulate_initial_state(BOOM::RNG&, BOOM::VectorView) const’:
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp:92:36: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
92 | if (initial_state_mean_.size() != state_dimension()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp: In member function ‘virtual BOOM::Vector BOOM::SharedLocalLevelStateModelBase::initial_state_mean() const’:
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp:100:36: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
100 | if (initial_state_mean_.size() != state_dimension()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp: In member function ‘void BOOM::SharedLocalLevelStateModelBase::set_initial_state_mean(const BOOM::Vector&)’:
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp:108:21: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
108 | if (mean.size() != state_dimension()) {
| ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp: In member function ‘virtual void BOOM::SharedLocalLevelStateModelBase::initialize_model_matrices()’:
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp:144:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroMeanGaussianModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
144 | for (int i = 0; i < innovation_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp: In member function ‘virtual void BOOM::SharedLocalLevelStateModelBase::observe_state(const BOOM::ConstVectorView&, const BOOM::ConstVectorView&, int)’:
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp:200:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::ZeroMeanGaussianModel> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
200 | for (int i = 0; i < innovation_models_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp: In member function ‘virtual void BOOM::ConditionallyIndependentSharedLocalLevelStateModel::record_observed_data_given_state(const BOOM::Vector&, const BOOM::ConstVectorView&, int)’:
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp:407:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
407 | for (int i = 0; i < residual_y.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp: In member function ‘void BOOM::ConditionallyIndependentSharedLocalLevelStateModel::set_observation_coefficients_observer()’:
Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.cpp:414:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::GlmCoefs> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
414 | for (int i = 0; i < raw_observation_coefficients_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../inst/include/Models/StateSpace/Filters/ConditionalIidKalmanFilter.hpp:22,
from ../inst/include/Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.hpp:28:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp: In instantiation of ‘void BOOM::MultivariateKalmanFilter<MARGINAL>::ensure_size(int) [with MARGINAL = BOOM::Kalman::ConditionallyIndependentMarginalDistribution]’:
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:227:10: required from here
227 | void ensure_size(int time) override {
| ^~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/MultivariateKalmanFilterBase.hpp:228:27: warning: comparison of integer expressions of different signedness: ‘std::vector<BOOM::Kalman::ConditionallyIndependentMarginalDistribution, std::allocator<BOOM::Kalman::ConditionallyIndependentMarginalDistribution> >::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
228 | while(nodes_.size() <= time) {
| ~~~~~~~~~~~~~~^~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c TargetFun/JacobianChecker.cpp -o TargetFun/JacobianChecker.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c TargetFun/LogPost.cpp -o TargetFun/LogPost.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c TargetFun/LogTransform.cpp -o TargetFun/LogTransform.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c TargetFun/LogitTransform.cpp -o TargetFun/LogitTransform.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c TargetFun/MultinomialLogitTransform.cpp -o TargetFun/MultinomialLogitTransform.o
TargetFun/MultinomialLogitTransform.cpp: In member function ‘virtual double BOOM::MultinomialLogitJacobian::logdet(const BOOM::Vector&) const’:
TargetFun/MultinomialLogitTransform.cpp:84:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
84 | for (int s = 0; s < truncated_probs.size(); ++s) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c TargetFun/ScalarLogpostTF.cpp -o TargetFun/ScalarLogpostTF.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c TargetFun/TargetFun.cpp -o TargetFun/TargetFun.o
TargetFun/TargetFun.cpp: In member function ‘virtual double BOOM::d2TargetFunPointerAdapter::operator()(const BOOM::Vector&, BOOM::Vector&, BOOM::Matrix&, BOOM::uint) const’:
TargetFun/TargetFun.cpp:75:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::function<double(const BOOM::Vector&, BOOM::Vector*, BOOM::Matrix*, bool)> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
75 | for (int i = 1; i < targets_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c TargetFun/Transformation.cpp -o TargetFun/Transformation.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/TimeSeries/ArModel.cpp -o Models/TimeSeries/ArModel.o
Models/TimeSeries/ArModel.cpp: In member function ‘virtual void BOOM::ArSuf::Update(const BOOM::DoubleData&)’:
Models/TimeSeries/ArModel.cpp:42:22: warning: comparison of integer expressions of different signedness: ‘std::deque<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
42 | if (lags_.size() == reg_suf_->size()) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Models/TimeSeries/ArModel.cpp:47:29: warning: comparison of integer expressions of different signedness: ‘std::deque<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
47 | } else if (lags_.size() < reg_suf_->size()) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
Models/TimeSeries/ArModel.cpp: In member function ‘virtual std::ostream& BOOM::ArSuf::print(std::ostream&) const’:
Models/TimeSeries/ArModel.cpp:82:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::deque<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
82 | for (int i = 0; i < lags_.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/TimeSeries/ArModel.cpp: In member function ‘void BOOM::ArModel::set_phi(const BOOM::Vector&)’:
Models/TimeSeries/ArModel.cpp:127:20: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
127 | if (phi.size() == coef().nvars_possible()) {
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Models/TimeSeries/ArModel.cpp: In static member function ‘static bool BOOM::ArModel::check_stationary(const BOOM::Vector&)’:
Models/TimeSeries/ArModel.cpp:166:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::complex<double> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
166 | for (int i = 0; i < roots.size(); ++i) {
| ~~^~~~~~~~~~~~~~
Models/TimeSeries/ArModel.cpp: In member function ‘BOOM::Vector BOOM::ArModel::simulate(int, const BOOM::Vector&, BOOM::RNG&) const’:
Models/TimeSeries/ArModel.cpp:199:19: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
199 | if (y0.size() != number_of_lags()) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Models/TimeSeries/ArModel.cpp: In member function ‘void BOOM::ArModel::set_filter_coefficients() const’:
Models/TimeSeries/ArModel.cpp:246:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
246 | if (n <= phi.size()) {
| ~~^~~~~~~~~~~~~
In file included from ../inst/include/Models/Glm/RegressionModel.hpp:33,
from ../inst/include/Models/TimeSeries/ArModel.hpp:24,
from Models/TimeSeries/ArModel.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::ArSuf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::ArSuf]’
110 | refresh_suf();
| ^~~~~~~~~~~
../inst/include/Models/TimeSeries/ArModel.hpp:85:9: required from here
85 | class ArModel : public GlmModel,
| ^~~~~~~
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/TimeSeries/ArmaModel.cpp -o Models/TimeSeries/ArmaModel.o
In file included from ../inst/include/Models/TimeSeries/ArmaModel.hpp:26,
from Models/TimeSeries/ArmaModel.cpp:19:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/TimeSeries/ArmaModel.cpp: In member function ‘virtual BOOM::SpdMatrix BOOM::ArmaStateSpaceTransitionMatrix::inner(const BOOM::ConstVectorView&) const’:
Models/TimeSeries/ArmaModel.cpp:105:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
105 | for (int i = 0; i < expanded_phi_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
Models/TimeSeries/ArmaModel.cpp: In member function ‘double BOOM::ArmaModel::log_likelihood(const BOOM::Vector&, const BOOM::Vector&, double) const’:
Models/TimeSeries/ArmaModel.cpp:241:32: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
241 | if (ar_coefficients.size() != ar_dimension()) {
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Models/TimeSeries/ArmaModel.cpp:244:32: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
244 | if (ma_coefficients.size() != ma_dimension()) {
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
Models/TimeSeries/ArmaModel.cpp: In member function ‘BOOM::Vector BOOM::ArmaModel::expand_ar_coefficients(const BOOM::Vector&, int) const’:
Models/TimeSeries/ArmaModel.cpp:290:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
290 | if (dimension < ar_coefficients.size()) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Models/TimeSeries/ArmaModel.cpp: In member function ‘BOOM::Vector BOOM::ArmaModel::expand_ma_coefficients(const BOOM::Vector&, int) const’:
Models/TimeSeries/ArmaModel.cpp:300:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
300 | if (dimension < ma_coefficients.size() + 1) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
Models/TimeSeries/ArmaModel.cpp: In member function ‘BOOM::Vector BOOM::ArmaModel::simulate(int, BOOM::RNG&) const’:
Models/TimeSeries/ArmaModel.cpp:338:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
338 | for (int i = 0; i < ans.size(); ++i) {
| ~~^~~~~~~~~~~~
Models/TimeSeries/ArmaModel.cpp: In member function ‘BOOM::Vector BOOM::ArmaModel::filter_coefficients() const’:
Models/TimeSeries/ArmaModel.cpp:360:41: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
360 | done = filter_coefficients.size() > ar_dimension() &&
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/TimeSeries/ArmaModel.cpp: In member function ‘double BOOM::ArmaModel::filter_ar_dot_product(const BOOM::Vector&) const’:
Models/TimeSeries/ArmaModel.cpp:381:36: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
381 | if (filter_coefficients.size() < ar_dimension()) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/TimeSeries/ArmaPriors.cpp -o Models/TimeSeries/ArmaPriors.o
In file included from ../inst/include/Models/TimeSeries/ArmaModel.hpp:26,
from Models/TimeSeries/ArmaPriors.cpp:2:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/TimeSeries/NonzeroMeanAr1Model.cpp -o Models/TimeSeries/NonzeroMeanAr1Model.o
Models/TimeSeries/NonzeroMeanAr1Model.cpp: In constructor ‘BOOM::NonzeroMeanAr1Model::NonzeroMeanAr1Model(const BOOM::Vector&)’:
Models/TimeSeries/NonzeroMeanAr1Model.cpp:141:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
141 | for (int i = 0; i < y.size(); ++i) {
| ~~^~~~~~~~~~
In file included from ../inst/include/Models/TimeSeries/NonzeroMeanAr1Model.hpp:26,
from Models/TimeSeries/NonzeroMeanAr1Model.cpp:20:
../inst/include/Models/Policies/SufstatDataPolicy.hpp: In instantiation of ‘void BOOM::SufstatDataPolicy<D, S>::refresh_suf() [with D = BOOM::UnivData<double>; S = BOOM::Ar1Suf]’:
../inst/include/Models/Policies/SufstatDataPolicy.hpp:110:5: required from ‘BOOM::SufstatDataPolicy<D, S>::SufstatDataPolicy(const BOOM::SufstatDataPolicy<D, S>&) [with D = BOOM::UnivData<double>; S = BOOM::Ar1Suf]’
110 | refresh_suf();
| ^~~~~~~~~~~
Models/TimeSeries/NonzeroMeanAr1Model.cpp:153:24: required from here
153 | PriorPolicy(rhs) {}
| ^
../inst/include/Models/Policies/SufstatDataPolicy.hpp:83:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::vector<BOOM::Ptr<BOOM::UnivData<double> >, std::allocator<BOOM::Ptr<BOOM::UnivData<double> > > >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
83 | for (uint i = 0; i < d.size(); ++i) suf_->update(d[i]);
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/TimeSeries/PosteriorSamplers/ArPosteriorSampler.cpp -o Models/TimeSeries/PosteriorSamplers/ArPosteriorSampler.o
In file included from ../inst/include/Models/Policies/PriorPolicy.hpp:25,
from ../inst/include/Models/GammaModel.hpp:28,
from ../inst/include/Models/TimeSeries/PosteriorSamplers/ArPosteriorSampler.hpp:23,
from Models/TimeSeries/PosteriorSamplers/ArPosteriorSampler.cpp:20:
../inst/include/Models/PosteriorSamplers/PosteriorSampler.hpp:83:20: warning: ‘virtual double BOOM::PosteriorSampler::log_prior_density(const BOOM::ConstVectorView&) const’ was hidden [-Woverloaded-virtual=]
83 | virtual double log_prior_density(const ConstVectorView ¶meters) const;
| ^~~~~~~~~~~~~~~~~
../inst/include/Models/TimeSeries/PosteriorSamplers/ArPosteriorSampler.hpp:65:12: note: by ‘virtual double BOOM::ArPosteriorSampler::log_prior_density(const BOOM::Model&) const’
65 | double log_prior_density(const Model &model) const override;
| ^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/TimeSeries/PosteriorSamplers/ArSpikeSlabSampler.cpp -o Models/TimeSeries/PosteriorSamplers/ArSpikeSlabSampler.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/TimeSeries/PosteriorSamplers/ArmaSliceSampler.cpp -o Models/TimeSeries/PosteriorSamplers/ArmaSliceSampler.o
In file included from ../inst/include/Models/TimeSeries/ArmaModel.hpp:26,
from ../inst/include/Models/TimeSeries/PosteriorSamplers/ArmaSliceSampler.hpp:24,
from Models/TimeSeries/PosteriorSamplers/ArmaSliceSampler.cpp:19:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::ZeroPaddedIdentityMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1269:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
1269 | for (size_t i = ncol_; i < lhs.size(); ++i) {
| ~~^~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1499:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1499 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_and_add(BOOM::VectorView, const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1508:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1508 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::multiply_inplace(BOOM::VectorView) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1517:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1517 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1525:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1525 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual BOOM::SpdMatrix BOOM::UpperLeftDiagonalMatrix::inner(const BOOM::ConstVectorView&) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1536:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1536 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘virtual void BOOM::UpperLeftDiagonalMatrix::add_to_block(BOOM::SubMatrix) const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1546:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1546 | for (int i = 0; i < diagonal_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘void BOOM::UpperLeftDiagonalMatrix::check_diagonal_dimension(int, const std::vector<BOOM::Ptr<BOOM::UnivParams> >&)’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:1558:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<BOOM::Ptr<BOOM::UnivParams> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
1558 | if (dim < diagonal.size()) {
| ~~~~^~~~~~~~~~~~~~~~~
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp: In member function ‘const BOOM::Vector& BOOM::DenseSparseRankOneMatrixBlock::dense_right() const’:
../inst/include/Models/StateSpace/Filters/SparseMatrix.hpp:2052:31: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
2052 | if (dense_right_.size() != right_.size()) {
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
Models/TimeSeries/PosteriorSamplers/ArmaSliceSampler.cpp: In member function ‘double BOOM::ArmaSliceSampler::vectorized_log_posterior(const BOOM::Vector&) const’:
Models/TimeSeries/PosteriorSamplers/ArmaSliceSampler.cpp:70:27: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
70 | if (parameters.size() !=
| ~~~~~~~~~~~~~~~~~~^~
71 | model_->ar_dimension() + model_->ma_dimension() + 1) {
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c Models/TimeSeries/PosteriorSamplers/NonzeroMeanAr1Sampler.cpp -o Models/TimeSeries/PosteriorSamplers/NonzeroMeanAr1Sampler.o
In file included from ../inst/include/Models/DoubleModel.hpp:23,
from ../inst/include/Models/GammaModel.hpp:24,
from ../inst/include/Models/TimeSeries/PosteriorSamplers/NonzeroMeanAr1Sampler.hpp:22,
from Models/TimeSeries/PosteriorSamplers/NonzeroMeanAr1Sampler.cpp:19:
../inst/include/Models/ModelTypes.hpp:332:20: warning: ‘virtual double BOOM::DirichletProcessMixtureComponent::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
332 | virtual double log_likelihood() const = 0;
| ^~~~~~~~~~~~~~
In file included from ../inst/include/Models/TimeSeries/PosteriorSamplers/NonzeroMeanAr1Sampler.hpp:23:
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
../inst/include/Models/ModelTypes.hpp:232:20: warning: ‘virtual double BOOM::LoglikeModel::log_likelihood() const’ was hidden [-Woverloaded-virtual=]
232 | virtual double log_likelihood() const {
| ^~~~~~~~~~~~~~
../inst/include/Models/GaussianModelBase.hpp:163:19: note: by ‘static double BOOM::GaussianModelBase::log_likelihood(const BOOM::GaussianSuf&, double, double)’
163 | static double log_likelihood(const GaussianSuf &suf, double mu,
| ^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/AsciiGraph.cpp -o cpputil/AsciiGraph.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/Date.cpp -o cpputil/Date.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/DateTime.cpp -o cpputil/DateTime.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/DefaultVnames.cpp -o cpputil/DefaultVnames.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/LongString.cpp -o cpputil/LongString.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/OutputTable.cpp -o cpputil/OutputTable.o
cpputil/OutputTable.cpp: In member function ‘void BOOM::OutputTable::equalize_rows()’:
cpputil/OutputTable.cpp:50:30: warning: comparison of integer expressions of different signedness: ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} and ‘BOOM::uint’ {aka ‘long int’} [-Wsign-compare]
50 | while (cols_[i].size() < nr) cols_[i].push_back("");
| ~~~~~~~~~~~~~~~~^~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/ParamHolder.cpp -o cpputil/ParamHolder.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/Polynomial.cpp -o cpputil/Polynomial.o
cpputil/Polynomial.cpp: In member function ‘void BOOM::Polynomial::find_roots()’:
cpputil/Polynomial.cpp:90:28: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
90 | if (roots_real_.size() == degree() && roots_imag_.size() == degree()) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
cpputil/Polynomial.cpp:90:62: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
90 | if (roots_real_.size() == degree() && roots_imag_.size() == degree()) {
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
cpputil/Polynomial.cpp: In function ‘BOOM::Vector BOOM::{anonymous}::expand_coefficients(const BOOM::Vector&, int)’:
cpputil/Polynomial.cpp:118:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
118 | if (coef.size() > order) {
| ~~~~~~~~~~~~^~~~~~~
cpputil/Polynomial.cpp:121:23: warning: comparison of integer expressions of different signedness: ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} and ‘int’ [-Wsign-compare]
121 | if (coef.size() < order) {
| ~~~~~~~~~~~~^~~~~~~
cpputil/Polynomial.cpp: In function ‘double BOOM::{anonymous}::get_coef(const BOOM::Vector&, int)’:
cpputil/Polynomial.cpp:156:17: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<double>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
156 | return (i >= coef.size() ? 0 : coef[i]);
| ~~^~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/Redirector.cpp -o cpputil/Redirector.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/ThreadTools.cpp -o cpputil/ThreadTools.o
In file included from cpputil/ThreadTools.cpp:20:
../inst/include/cpputil/ThreadTools.hpp: In member function ‘int BOOM::ThreadWorkerPool::number_of_joinable_threads() const’:
../inst/include/cpputil/ThreadTools.hpp:215:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
215 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
cpputil/ThreadTools.cpp: In member function ‘void BOOM::ThreadWorkerPool::set_number_of_threads(int)’:
cpputil/ThreadTools.cpp:78:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::thread>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
78 | for (int i = 0; i < threads_.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/apply_permutation.cpp -o cpputil/apply_permutation.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/compare_vector_bool.cpp -o cpputil/compare_vector_bool.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/concatenate_strings.cpp -o cpputil/concatenate_strings.o
cpputil/concatenate_strings.cpp: In function ‘std::string BOOM::concatenate(const std::vector<std::__cxx11::basic_string<char> >&, const std::string&)’:
cpputil/concatenate_strings.cpp:27:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
27 | for (int i = 0; i < string_vector.size(); ++i) {
| ~~^~~~~~~~~~~~~~~~~~~~~~
cpputil/concatenate_strings.cpp:29:13: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector<std::__cxx11::basic_string<char> >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
29 | if (i < string_vector.size() - 1) {
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/gll.cpp -o cpputil/gll.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/is_all_white.cpp -o cpputil/is_all_white.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/is_numeric.cpp -o cpputil/is_numeric.o
cpputil/is_numeric.cpp: In function ‘bool BOOM::is_numeric(const std::string&)’:
cpputil/is_numeric.cpp:39:24: warning: comparison of integer expressions of different signedness: ‘BOOM::uint’ {aka ‘long int’} and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
39 | for (uint i = 0; i < s.size(); ++i) {
| ~~^~~~~~~~~~
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/legalize_file_name.cpp -o cpputil/legalize_file_name.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/lse.cpp -o cpputil/lse.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/parse_range.cpp -o cpputil/parse_range.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/print_columns.cpp -o cpputil/print_columns.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/read_file.cpp -o cpputil/read_file.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/rep.cpp -o cpputil/rep.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/replace_all.cpp -o cpputil/replace_all.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/report_error.cpp -o cpputil/report_error.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/safelog.cpp -o cpputil/safelog.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/split.cpp -o cpputil/split.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/split_delimited.cpp -o cpputil/split_delimited.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/split_string.cpp -o cpputil/split_string.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/strip.cpp -o cpputil/strip.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/strip_path.cpp -o cpputil/strip_path.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/strip_white_space.cpp -o cpputil/strip_white_space.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/substring_delimited.cpp -o cpputil/substring_delimited.o
g++ -std=gnu++17 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I. -I../inst/include -IBmath -Imath/cephes -DADD_ -DR_NO_REMAP -DEIGEN_WARNINGS_DISABLED -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c cpputil/trim_white_space.cpp -o cpputil/trim_white_space.o
gcc-ar rcs libboom.a boom_r_tools.o create_mixture_component.o create_point_process.o create_poisson_cluster_components.o create_poisson_process.o determine_nthreads.o extract_mixture_data.o handle_exception.o list_io.o parse_model_formula.o print_R_timestamp.o prior_specification.o seed_rng_from_R.o spike_slab_prior.o sufstats.o Models/Bart/Bart.o Models/Bart/GaussianBartModel.o Models/Bart/GaussianLinearBartModel.o Models/Bart/LogitBartModel.o Models/Bart/PoissonBartModel.o Models/Bart/ProbitBartModel.o Models/Bart/ResidualRegressionData.o Models/Bart/PosteriorSamplers/BartPosteriorSampler.o Models/Bart/PosteriorSamplers/GaussianBartPosteriorSampler.o Models/Bart/PosteriorSamplers/GaussianLinearBartPosteriorSampler.o Models/Bart/PosteriorSamplers/LogitBartPosteriorSampler.o Models/Bart/PosteriorSamplers/PoissonBartPosteriorSampler.o Models/Bart/PosteriorSamplers/ProbitBartPosteriorSampler.o distributions/BinomialDistribution.o distributions/BoundedAdaptiveRejectionSampler.o distributions/DoublyBoundedAdaptiveRejectionSampler.o distributions/Markov.o distributions/Rmath_dist.o distributions/Tn2Sampler.o distributions/Wishart.o distributions/dirichlet.o distributions/extreme_value.o distributions/gig.o distributions/inverse_gaussian.o distributions/matrix_normal.o distributions/mvn.o distributions/mvt.o distributions/random_cor.o distributions/random_int.o distributions/rlexp.o distributions/rmulti.o distributions/rng.o distributions/rtriangle.o distributions/student_fix.o distributions/trun_exp.o distributions/trun_gamma.o distributions/trun_logit.o distributions/trun_norm.o distributions/usp.o Models/Glm/AggregatedRegressionModel.o Models/Glm/BinomialLogitModel.o Models/Glm/BinomialProbitModel.o Models/Glm/BinomialRegressionData.o Models/Glm/ChoiceData.o Models/Glm/GammaRegressionModel.o Models/Glm/Glm.o Models/Glm/GlmCoefs.o Models/Glm/HierarchicalPoissonRegression.o Models/Glm/LogisticRegressionModel.o Models/Glm/LoglinearModel.o Models/Glm/MultinomialLogitModel.o Models/Glm/MultinomialProbitModel.o Models/Glm/MultivariateRegression.o Models/Glm/MvnGivenX.o Models/Glm/MvtRegModel.o Models/Glm/OrdinalCutpointModel.o Models/Glm/PoissonRegressionData.o Models/Glm/PoissonRegressionModel.o Models/Glm/ProbitRegression.o Models/Glm/QuantileRegressionModel.o Models/Glm/RegressionModel.o Models/Glm/RegressionSlabPrior.o Models/Glm/TRegression.o Models/Glm/VariableSelectionPrior.o Models/Glm/WeightedRegressionModel.o Models/Glm/ZeroInflatedGammaRegression.o Models/Glm/ZeroInflatedLognormalRegression.o Models/Glm/ZeroInflatedPoissonRegression.o Models/Glm/PosteriorSamplers/AdaptiveSpikeSlabRegressionSampler.o Models/Glm/PosteriorSamplers/AggregatedRegressionSampler.o Models/Glm/PosteriorSamplers/BigAssSpikeSlabSampler.o Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.o Models/Glm/PosteriorSamplers/BinomialLogitCompositeSpikeSlabSampler.o Models/Glm/PosteriorSamplers/BinomialLogitDataImputer.o Models/Glm/PosteriorSamplers/BinomialLogitSamplerRwm.o Models/Glm/PosteriorSamplers/BinomialLogitSamplerTim.o Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.o Models/Glm/PosteriorSamplers/BinomialProbitCompositeSpikeSlabSampler.o Models/Glm/PosteriorSamplers/BinomialProbitDataImputer.o Models/Glm/PosteriorSamplers/BinomialProbitSpikeSlabSampler.o Models/Glm/PosteriorSamplers/BinomialProbitTimSampler.o Models/Glm/PosteriorSamplers/BregVsSampler.o Models/Glm/PosteriorSamplers/CorrelationMap.o Models/Glm/PosteriorSamplers/DAFE_MLM.o Models/Glm/PosteriorSamplers/GammaRegressionPosteriorSampler.o Models/Glm/PosteriorSamplers/HierarchicalPoissonRegressionSampler.o Models/Glm/PosteriorSamplers/LogitSampler.o Models/Glm/PosteriorSamplers/LogitSamplerBma.o Models/Glm/PosteriorSamplers/LoglinearModelBipfSampler.o Models/Glm/PosteriorSamplers/MLAuxMixSampler.o Models/Glm/PosteriorSamplers/MLVS.o Models/Glm/PosteriorSamplers/MLVS_data_imputer.o Models/Glm/PosteriorSamplers/MlogitRwm.o Models/Glm/PosteriorSamplers/MnpBetaGivenSigmaSampler.o Models/Glm/PosteriorSamplers/MnpBetaSampler.o Models/Glm/PosteriorSamplers/MultinomialLogitCompleteDataSuf.o Models/Glm/PosteriorSamplers/MultinomialLogitCompositeSpikeSlabSampler.o Models/Glm/PosteriorSamplers/MultivariateRegressionSampler.o Models/Glm/PosteriorSamplers/MultivariateRegressionSpikeSlabSampler.o Models/Glm/PosteriorSamplers/MvtRegSampler.o Models/Glm/PosteriorSamplers/NonconjugateRegressionSampler.o Models/Glm/PosteriorSamplers/NormalMixtureApproximation.o Models/Glm/PosteriorSamplers/OrdinalLogitImputer.o Models/Glm/PosteriorSamplers/OrdinalLogitPosteriorSampler.o Models/Glm/PosteriorSamplers/PartRegSampler.o Models/Glm/PosteriorSamplers/PoissonDataImputer.o Models/Glm/PosteriorSamplers/PoissonRegressionAuxMixSampler.o Models/Glm/PosteriorSamplers/PoissonRegressionRwmSampler.o Models/Glm/PosteriorSamplers/PoissonRegressionSpikeSlabSampler.o Models/Glm/PosteriorSamplers/ProbitRegressionSampler.o Models/Glm/PosteriorSamplers/ProbitSpikeSlabSampler.o Models/Glm/PosteriorSamplers/QuantileRegressionPosteriorSampler.o Models/Glm/PosteriorSamplers/RegressionCoefficientSampler.o Models/Glm/PosteriorSamplers/RegressionConjSampler.o Models/Glm/PosteriorSamplers/RegressionSemiconjugateSampler.o Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.o Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.o Models/Glm/PosteriorSamplers/SpikeSlabSampler.o Models/Glm/PosteriorSamplers/TDataImputer.o Models/Glm/PosteriorSamplers/TRegressionSampler.o Models/Glm/PosteriorSamplers/TRegressionSpikeSlabSampler.o Models/Glm/PosteriorSamplers/VsPriorSampler.o Models/Glm/PosteriorSamplers/ZeroInflatedLognormalRegressionPosteriorSampler.o Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.o Models/Glm/PosteriorSamplers/draw_logit_lambda.o Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_1.o Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_2.o Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_3.o Models/Glm/PosteriorSamplers/poisson_mixture_approximation_table.o Models/Hierarchical/HierarchicalDirichletModel.o Models/Hierarchical/HierarchicalGammaModel.o Models/Hierarchical/HierarchicalGaussianRegressionModel.o Models/Hierarchical/HierarchicalPoissonModel.o Models/Hierarchical/HierarchicalZeroInflatedGammaModel.o Models/Hierarchical/HierarchicalZeroInflatedPoissonModel.o Models/Hierarchical/PosteriorSamplers/HierGaussianRegressionAsisSampler.o Models/Hierarchical/PosteriorSamplers/HierarchicalDirichletPosteriorSampler.o Models/Hierarchical/PosteriorSamplers/HierarchicalGammaSampler.o Models/Hierarchical/PosteriorSamplers/HierarchicalGaussianRegressionSampler.o Models/Hierarchical/PosteriorSamplers/HierarchicalPoissonSampler.o Models/Hierarchical/PosteriorSamplers/HierarchicalZeroInflatedGammaSampler.o Models/Hierarchical/PosteriorSamplers/HierarchicalZeroInflatedPoissonSampler.o Models/HMM/GeneralHmmStateSpaceWrapper.o Models/HMM/HMM2.o Models/HMM/HealthStateModel.o Models/HMM/HmmDataImputer.o Models/HMM/HmmFilter.o Models/HMM/hmm_tools.o Models/HMM/Clickstream/Event.o Models/HMM/Clickstream/NestedHmm.o Models/HMM/Clickstream/Session.o Models/HMM/Clickstream/Stream.o Models/HMM/Clickstream/PosteriorSamplers/NestedHmmPosteriorSampler.o Models/HMM/PosteriorSamplers/HmmPosteriorSampler.o Models/HMM/PosteriorSamplers/LiuWestParticleFilter.o Models/IRT/DafePcrDataImputer.o Models/IRT/DafePcrItemSampler.o Models/IRT/DafePcrRwmItemSampler.o Models/IRT/DafePcrRwmSubject.o Models/IRT/DafePcrSubject.o Models/IRT/IRT.o Models/IRT/IrtModel.o Models/IRT/Item.o Models/IRT/PartialCreditModel.o Models/IRT/Subject.o Models/IRT/SubjectPrior.o Models/IRT/SubjectSliceSampler.o LinAlg/Array.o LinAlg/ArrayIterator.o LinAlg/Cholesky.o LinAlg/CorrelationMatrix.o LinAlg/DiagonalMatrix.o LinAlg/Eigen.o LinAlg/Givens.o LinAlg/LU.o LinAlg/Matrix.o LinAlg/MatrixPartition.o LinAlg/QR.o LinAlg/SVD.o LinAlg/SWEEP.o LinAlg/Selector.o LinAlg/SpdMatrix.o LinAlg/SubMatrix.o LinAlg/Vector.o LinAlg/VectorView.o LinAlg/stack_columns.o math/cephes/cephes_rgamma.o math/cephes/chbevl.o math/cephes/dawsn.o math/cephes/ei.o math/cephes/expn.o math/cephes/fac.o math/cephes/fresnl.o math/cephes/planck.o math/cephes/polevl.o math/cephes/polylog.o math/cephes/powi.o math/cephes/shichi.o math/cephes/sici.o math/cephes/spence.o math/cephes/zeta.o math/cephes/zetac.o math/kissfft/kiss_fft.o math/fft.o math/lmultigamma.o Models/Mixtures/BetaBinomialMixture.o Models/Mixtures/ConditionalFiniteMixtureModel.o Models/Mixtures/DirichletProcessMixture.o Models/Mixtures/DirichletProcessMvnModel.o Models/Mixtures/MvnMetaAnalysisDPMPriorModel.o Models/Mixtures/identify_permutation.o Models/Mixtures/PosteriorSamplers/BetaBinomialMixturePosteriorSampler.o Models/Mixtures/PosteriorSamplers/ConditionalFiniteMixtureSampler.o Models/Mixtures/PosteriorSamplers/DirichletProcessCollapsedGibbsSampler.o Models/Mixtures/PosteriorSamplers/DirichletProcessMvnCollapsedGibbsSampler.o Models/Mixtures/PosteriorSamplers/DirichletProcessSliceSampler.o Models/Mixtures/PosteriorSamplers/MvnMetaAnalysisDPMPriorSampler.o Models/Mixtures/PosteriorSamplers/SplitMerge.o Models/BetaBinomialModel.o Models/BetaModel.o Models/BinomialModel.o Models/CategoricalData.o Models/ChisqModel.o Models/CompositeData.o Models/CompositeModel.o Models/ConstrainedVectorParams.o Models/DataTypes.o Models/DirichletModel.o Models/DiscreteUniformModel.o Models/ExponentialIncrementModel.o Models/ExponentialModel.o Models/FiniteMixtureModel.o Models/GammaModel.o Models/GaussianModel.o Models/GaussianModelBase.o Models/GaussianModelGivenSigma.o Models/IndependentMvnModel.o Models/IndependentMvnModelGivenScalarSigma.o Models/LognormalModel.o Models/LowRankMvnModel.o Models/MarginallyUniformCorrelationModel.o Models/MarkovModel.o Models/MatrixNormalModel.o Models/ModelTypes.o Models/MultinomialModel.o Models/MvnBase.o Models/MvnGivenScalarSigma.o Models/MvnGivenSigma.o Models/MvnModel.o Models/MvtModel.o Models/ParamTypes.o Models/PoissonGammaModel.o Models/PoissonModel.o Models/PositiveSemidefiniteData.o Models/ProductDirichletModel.o Models/ProductVectorModel.o Models/ScaledChisqModel.o Models/SpdData.o Models/SpdModel.o Models/SpdParams.o Models/Sufstat.o Models/TruncatedGammaModel.o Models/UniformCorrelationModel.o Models/UniformModel.o Models/UniformShrinkagePriorModel.o Models/WeightedGaussianSuf.o Models/WeightedMvnModel.o Models/WishartModel.o Models/ZeroInflatedGammaModel.o Models/ZeroInflatedLognormalModel.o Models/ZeroInflatedPoissonModel.o Models/ZeroMeanGaussianModel.o Models/ZeroMeanMvnModel.o Models/Policies/CompositeParamPolicy.o Models/Policies/ManyParamPolicy.o Models/Policies/MixtureDataPolicy.o Models/Policies/NullParamPolicy.o Models/Policies/PriorPolicy.o Models/PosteriorSamplers/AbsorbingMarkovConjSampler.o Models/PosteriorSamplers/BetaBinomialPosteriorSampler.o Models/PosteriorSamplers/BetaBinomialSampler.o Models/PosteriorSamplers/BetaPosteriorSampler.o Models/PosteriorSamplers/CompositeModelSampler.o Models/PosteriorSamplers/CompositeSampler.o Models/PosteriorSamplers/CorrelationSampler.o Models/PosteriorSamplers/DirichletPosteriorSampler.o Models/PosteriorSamplers/ExchangeableDirichletSampler.o Models/PosteriorSamplers/ExponentialGammaSampler.o Models/PosteriorSamplers/FixedProbBinomialSampler.o Models/PosteriorSamplers/GammaPosteriorSampler.o Models/PosteriorSamplers/GaussianConjSampler.o Models/PosteriorSamplers/GaussianGivenSigmaSampler.o Models/PosteriorSamplers/GaussianMeanSampler.o Models/PosteriorSamplers/GaussianVarSampler.o Models/PosteriorSamplers/GenericGaussianVarianceSampler.o Models/PosteriorSamplers/GenericStudentSampler.o Models/PosteriorSamplers/HierarchicalPosteriorSampler.o Models/PosteriorSamplers/Imputer.o Models/PosteriorSamplers/IndependentMvnConjSampler.o Models/PosteriorSamplers/IndependentMvnVarSampler.o Models/PosteriorSamplers/MarkovConjSampler.o Models/PosteriorSamplers/MarkovConjShrinkageSampler.o Models/PosteriorSamplers/MultinomialDirichletSampler.o Models/PosteriorSamplers/MvnConjSampler.o Models/PosteriorSamplers/MvnIndependentVarianceSampler.o Models/PosteriorSamplers/MvnMeanSampler.o Models/PosteriorSamplers/MvnVarSampler.o Models/PosteriorSamplers/PoissonGammaPosteriorSampler.o Models/PosteriorSamplers/PoissonGammaSampler.o Models/PosteriorSamplers/PosteriorSampler.o Models/PosteriorSamplers/ProductDirichletPosteriorSampler.o Models/PosteriorSamplers/SepStratSampler.o Models/PosteriorSamplers/SharedSigsqSampler.o Models/PosteriorSamplers/ZeroInflatedGammaPosteriorSampler.o Models/PosteriorSamplers/ZeroInflatedLognormalPosteriorSampler.o Models/PosteriorSamplers/ZeroInflatedPoissonSampler.o Models/PosteriorSamplers/ZeroMeanGaussianConjSampler.o Models/PosteriorSamplers/ZeroMeanMvnConjSampler.o Models/PosteriorSamplers/ZeroMeanMvnIndependenceSampler.o numopt/Brent.o numopt/Integral.o numopt/LinearAssignment.o numopt/MarkovDecisionProcess.o numopt/Negate.o numopt/NelderMead.o numopt/NumericalDerivatives.o numopt/Powell.o numopt/Qlearning.o numopt/ScalarLaplaceApproximation.o numopt/ScalarNewtonMax.o numopt/bfgs.o numopt/conj_grad.o numopt/initialize_derivatives.o numopt/max_nd.o numopt/nelder_mead.o numopt/newton.o numopt/simulated_annealing.o Models/Nnet/GaussianFeedForwardNeuralNetwork.o Models/Nnet/Nnet.o Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.o Models/Nnet/PosteriorSamplers/HiddenLayerImputer.o Models/PointProcess/BoundedPoissonProcessSimulator.o Models/PointProcess/CosinePoissonProcess.o Models/PointProcess/HomogeneousPoissonProcess.o Models/PointProcess/MarkovModulatedPoissonProcess.o Models/PointProcess/PointProcess.o Models/PointProcess/PoissonClusterProcess.o Models/PointProcess/WeeklyCyclePoissonProcess.o Models/PointProcess/PosteriorSamplers/HomogPoissonProcessPosteriorSampler.o Models/PointProcess/PosteriorSamplers/MmppPosteriorSampler.o Models/PointProcess/PosteriorSamplers/WeeklyCyclePoissonProcessSampler.o Bmath/bd0.o Bmath/bessel_k.o Bmath/beta.o Bmath/chebyshev.o Bmath/choose.o Bmath/d1mach.o Bmath/dbeta.o Bmath/dbinom.o Bmath/dcauchy.o Bmath/dchisq.o Bmath/dexp.o Bmath/df.o Bmath/dgamma.o Bmath/dgeom.o Bmath/dhyper.o Bmath/dlnorm.o Bmath/dlogis.o Bmath/dnbeta.o Bmath/dnbinom.o Bmath/dnchisq.o Bmath/dnorm.o Bmath/dpois.o Bmath/dt.o Bmath/dunif.o Bmath/dweibull.o Bmath/fprec.o Bmath/fround.o Bmath/fsign.o Bmath/ftrunc.o Bmath/gamma_cody.o Bmath/gammalims.o Bmath/i1mach.o Bmath/lbeta.o Bmath/lgammacor.o Bmath/mathlib_error.o Bmath/mlutils.o Bmath/pbeta.o Bmath/pbinom.o Bmath/pcauchy.o Bmath/pchisq.o Bmath/pexp.o Bmath/pf.o Bmath/pgamma.o Bmath/pgeom.o Bmath/phyper.o Bmath/plnorm.o Bmath/plogis.o Bmath/pnbeta.o Bmath/pnbinom.o Bmath/pnchisq.o Bmath/pnf.o Bmath/pnorm.o Bmath/pnt.o Bmath/polygamma.o Bmath/ppois.o Bmath/pt.o Bmath/ptukey.o Bmath/punif.o Bmath/pweibull.o Bmath/qbeta.o Bmath/qbinom.o Bmath/qcauchy.o Bmath/qchisq.o Bmath/qexp.o Bmath/qf.o Bmath/qgamma.o Bmath/qgeom.o Bmath/qhyper.o Bmath/qlnorm.o Bmath/qlogis.o Bmath/qnbinom.o Bmath/qnchisq.o Bmath/qnorm.o Bmath/qpois.o Bmath/qt.o Bmath/qtukey.o Bmath/qunif.o Bmath/qweibull.o Bmath/rbeta.o Bmath/rbinom.o Bmath/rcauchy.o Bmath/rchisq.o Bmath/rexp.o Bmath/rf.o Bmath/rgamma.o Bmath/rgeom.o Bmath/rhyper.o Bmath/rlnorm.o Bmath/rloggamma_small_alpha.o Bmath/rlogis.o Bmath/rmultinom.o Bmath/rnbinom.o Bmath/rnchisq.o Bmath/rnorm.o Bmath/rpois.o Bmath/rt.o Bmath/runif.o Bmath/rweibull.o Bmath/sexp.o Bmath/sign.o Bmath/snorm.o Bmath/stirlerr.o Bmath/toms708.o Bmath/unif_rand.o Samplers/ARMS.o Samplers/DirectProposal.o Samplers/ImportanceResampler.o Samplers/MH_Proposals.o Samplers/MetropolisHastings.o Samplers/MoveAccounting.o Samplers/RejectionSampler.o Samplers/Sampler.o Samplers/ScalarAdaptiveRejectionSampler.o Samplers/ScalarLangevinSampler.o Samplers/ScalarSliceSampler.o Samplers/SliceSampler.o Samplers/TIM.o Samplers/UnivariateLangevinSampler.o Samplers/UnivariateSliceSampler.o Samplers/Gilks/arms.o stats/AsciiDistributionCompare.o stats/Bspline.o stats/ChiSquareTest.o stats/DataTable.o stats/Design.o stats/ECDF.o stats/EmpiricalDensity.o stats/Encoders.o stats/FreqDist.o stats/IQagent.o stats/Mspline.o stats/NaturalSpline.o stats/Resampler.o stats/Spline.o stats/acf.o stats/compare_binomial_proportions.o stats/compare_predictions.o stats/diff.o stats/hexbin.o stats/logit.o stats/moments.o stats/quantile.o stats/regression.o stats/simple_random_sample.o stats/summary.o Models/StateSpace/AggregatedStateSpaceRegression.o Models/StateSpace/DynamicInterceptRegression.o Models/StateSpace/DynamicRegression.o Models/StateSpace/MultiplexedData.o Models/StateSpace/StateModelVector.o Models/StateSpace/StateSpaceLogitModel.o Models/StateSpace/StateSpaceModel.o Models/StateSpace/StateSpaceModelBase.o Models/StateSpace/StateSpaceNormalMixture.o Models/StateSpace/StateSpacePoissonModel.o Models/StateSpace/StateSpaceRegressionModel.o Models/StateSpace/StateSpaceStudentRegressionModel.o Models/StateSpace/Filters/ConditionalIidKalmanFilter.o Models/StateSpace/Filters/ConditionallyIndependentKalmanFilter.o Models/StateSpace/Filters/KalmanFilterBase.o Models/StateSpace/Filters/KalmanTools.o Models/StateSpace/Filters/MultivariateKalmanFilterBase.o Models/StateSpace/Filters/ScalarKalmanFilter.o Models/StateSpace/Filters/SparseKalmanTools.o Models/StateSpace/Filters/SparseMatrix.o Models/StateSpace/Filters/SparseVector.o Models/StateSpace/PosteriorSamplers/AggregatedStateSpacePosteriorSampler.o Models/StateSpace/PosteriorSamplers/DynamicRegressionArPosteriorSampler.o Models/StateSpace/PosteriorSamplers/DynamicRegressionDirectGibbs.o Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.o Models/StateSpace/PosteriorSamplers/StateSpaceLogitPosteriorSampler.o Models/StateSpace/PosteriorSamplers/StateSpacePoissonPosteriorSampler.o Models/StateSpace/PosteriorSamplers/StateSpacePosteriorSampler.o Models/StateSpace/PosteriorSamplers/StateSpaceStudentPosteriorSampler.o Models/StateSpace/PosteriorSamplers/StudentLocalLinearTrendPosteriorSampler.o Models/StateSpace/StateModels/ArStateModel.o Models/StateSpace/StateModels/DynamicRegressionArStateModel.o Models/StateSpace/StateModels/DynamicRegressionStateModel.o Models/StateSpace/StateModels/GeneralSeasonalStateModel.o Models/StateSpace/StateModels/HierarchicalRegressionHolidayStateModel.o Models/StateSpace/StateModels/Holiday.o Models/StateSpace/StateModels/LocalLevelStateModel.o Models/StateSpace/StateModels/LocalLinearTrend.o Models/StateSpace/StateModels/RandomWalkHolidayStateModel.o Models/StateSpace/StateModels/RegressionHolidayStateModel.o Models/StateSpace/StateModels/RegressionStateModel.o Models/StateSpace/StateModels/SeasonalStateModel.o Models/StateSpace/StateModels/SemilocalLinearTrend.o Models/StateSpace/StateModels/StateModel.o Models/StateSpace/StateModels/StaticInterceptStateModel.o Models/StateSpace/StateModels/StudentLocalLinearTrend.o Models/StateSpace/StateModels/TrigStateModel.o Models/StateSpace/StateModels/PosteriorSamplers/GeneralSeasonalLLTPosteriorSampler.o Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.o Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.o Models/StateSpace/Multivariate/StudentMvssRegressionModel.o Models/StateSpace/Multivariate/PosteriorSamplers/MultivariateStateSpaceModelSampler.o Models/StateSpace/Multivariate/PosteriorSamplers/MvStateSpaceRegressionPosteriorSampler.o Models/StateSpace/Multivariate/PosteriorSamplers/SADSampler.o Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.o Models/StateSpace/Multivariate/PosteriorSamplers/StudentMvssPosteriorSampler.o Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.o Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.o TargetFun/JacobianChecker.o TargetFun/LogPost.o TargetFun/LogTransform.o TargetFun/LogitTransform.o TargetFun/MultinomialLogitTransform.o TargetFun/ScalarLogpostTF.o TargetFun/TargetFun.o TargetFun/Transformation.o Models/TimeSeries/ArModel.o Models/TimeSeries/ArmaModel.o Models/TimeSeries/ArmaPriors.o Models/TimeSeries/NonzeroMeanAr1Model.o Models/TimeSeries/PosteriorSamplers/ArPosteriorSampler.o Models/TimeSeries/PosteriorSamplers/ArSpikeSlabSampler.o Models/TimeSeries/PosteriorSamplers/ArmaSliceSampler.o Models/TimeSeries/PosteriorSamplers/NonzeroMeanAr1Sampler.o cpputil/AsciiGraph.o cpputil/Date.o cpputil/DateTime.o cpputil/DefaultVnames.o cpputil/LongString.o cpputil/OutputTable.o cpputil/ParamHolder.o cpputil/Polynomial.o cpputil/Redirector.o cpputil/ThreadTools.o cpputil/apply_permutation.o cpputil/compare_vector_bool.o cpputil/concatenate_strings.o cpputil/gll.o cpputil/is_all_white.o cpputil/is_numeric.o cpputil/legalize_file_name.o cpputil/lse.o cpputil/parse_range.o cpputil/print_columns.o cpputil/read_file.o cpputil/rep.o cpputil/replace_all.o cpputil/report_error.o cpputil/safelog.o cpputil/split.o cpputil/split_delimited.o cpputil/split_string.o cpputil/strip.o cpputil/strip_path.o cpputil/strip_white_space.o cpputil/substring_delimited.o cpputil/trim_white_space.o
g++ -std=gnu++17 -shared -L/usr/local/lib64 -o Boom.so boom_r_tools.o create_mixture_component.o create_point_process.o create_poisson_cluster_components.o create_poisson_process.o determine_nthreads.o extract_mixture_data.o handle_exception.o list_io.o parse_model_formula.o print_R_timestamp.o prior_specification.o seed_rng_from_R.o spike_slab_prior.o sufstats.o Models/Bart/Bart.o Models/Bart/GaussianBartModel.o Models/Bart/GaussianLinearBartModel.o Models/Bart/LogitBartModel.o Models/Bart/PoissonBartModel.o Models/Bart/ProbitBartModel.o Models/Bart/ResidualRegressionData.o Models/Bart/PosteriorSamplers/BartPosteriorSampler.o Models/Bart/PosteriorSamplers/GaussianBartPosteriorSampler.o Models/Bart/PosteriorSamplers/GaussianLinearBartPosteriorSampler.o Models/Bart/PosteriorSamplers/LogitBartPosteriorSampler.o Models/Bart/PosteriorSamplers/PoissonBartPosteriorSampler.o Models/Bart/PosteriorSamplers/ProbitBartPosteriorSampler.o distributions/BinomialDistribution.o distributions/BoundedAdaptiveRejectionSampler.o distributions/DoublyBoundedAdaptiveRejectionSampler.o distributions/Markov.o distributions/Rmath_dist.o distributions/Tn2Sampler.o distributions/Wishart.o distributions/dirichlet.o distributions/extreme_value.o distributions/gig.o distributions/inverse_gaussian.o distributions/matrix_normal.o distributions/mvn.o distributions/mvt.o distributions/random_cor.o distributions/random_int.o distributions/rlexp.o distributions/rmulti.o distributions/rng.o distributions/rtriangle.o distributions/student_fix.o distributions/trun_exp.o distributions/trun_gamma.o distributions/trun_logit.o distributions/trun_norm.o distributions/usp.o Models/Glm/AggregatedRegressionModel.o Models/Glm/BinomialLogitModel.o Models/Glm/BinomialProbitModel.o Models/Glm/BinomialRegressionData.o Models/Glm/ChoiceData.o Models/Glm/GammaRegressionModel.o Models/Glm/Glm.o Models/Glm/GlmCoefs.o Models/Glm/HierarchicalPoissonRegression.o Models/Glm/LogisticRegressionModel.o Models/Glm/LoglinearModel.o Models/Glm/MultinomialLogitModel.o Models/Glm/MultinomialProbitModel.o Models/Glm/MultivariateRegression.o Models/Glm/MvnGivenX.o Models/Glm/MvtRegModel.o Models/Glm/OrdinalCutpointModel.o Models/Glm/PoissonRegressionData.o Models/Glm/PoissonRegressionModel.o Models/Glm/ProbitRegression.o Models/Glm/QuantileRegressionModel.o Models/Glm/RegressionModel.o Models/Glm/RegressionSlabPrior.o Models/Glm/TRegression.o Models/Glm/VariableSelectionPrior.o Models/Glm/WeightedRegressionModel.o Models/Glm/ZeroInflatedGammaRegression.o Models/Glm/ZeroInflatedLognormalRegression.o Models/Glm/ZeroInflatedPoissonRegression.o Models/Glm/PosteriorSamplers/AdaptiveSpikeSlabRegressionSampler.o Models/Glm/PosteriorSamplers/AggregatedRegressionSampler.o Models/Glm/PosteriorSamplers/BigAssSpikeSlabSampler.o Models/Glm/PosteriorSamplers/BinomialLogitAuxmixSampler.o Models/Glm/PosteriorSamplers/BinomialLogitCompositeSpikeSlabSampler.o Models/Glm/PosteriorSamplers/BinomialLogitDataImputer.o Models/Glm/PosteriorSamplers/BinomialLogitSamplerRwm.o Models/Glm/PosteriorSamplers/BinomialLogitSamplerTim.o Models/Glm/PosteriorSamplers/BinomialLogitSpikeSlabSampler.o Models/Glm/PosteriorSamplers/BinomialProbitCompositeSpikeSlabSampler.o Models/Glm/PosteriorSamplers/BinomialProbitDataImputer.o Models/Glm/PosteriorSamplers/BinomialProbitSpikeSlabSampler.o Models/Glm/PosteriorSamplers/BinomialProbitTimSampler.o Models/Glm/PosteriorSamplers/BregVsSampler.o Models/Glm/PosteriorSamplers/CorrelationMap.o Models/Glm/PosteriorSamplers/DAFE_MLM.o Models/Glm/PosteriorSamplers/GammaRegressionPosteriorSampler.o Models/Glm/PosteriorSamplers/HierarchicalPoissonRegressionSampler.o Models/Glm/PosteriorSamplers/LogitSampler.o Models/Glm/PosteriorSamplers/LogitSamplerBma.o Models/Glm/PosteriorSamplers/LoglinearModelBipfSampler.o Models/Glm/PosteriorSamplers/MLAuxMixSampler.o Models/Glm/PosteriorSamplers/MLVS.o Models/Glm/PosteriorSamplers/MLVS_data_imputer.o Models/Glm/PosteriorSamplers/MlogitRwm.o Models/Glm/PosteriorSamplers/MnpBetaGivenSigmaSampler.o Models/Glm/PosteriorSamplers/MnpBetaSampler.o Models/Glm/PosteriorSamplers/MultinomialLogitCompleteDataSuf.o Models/Glm/PosteriorSamplers/MultinomialLogitCompositeSpikeSlabSampler.o Models/Glm/PosteriorSamplers/MultivariateRegressionSampler.o Models/Glm/PosteriorSamplers/MultivariateRegressionSpikeSlabSampler.o Models/Glm/PosteriorSamplers/MvtRegSampler.o Models/Glm/PosteriorSamplers/NonconjugateRegressionSampler.o Models/Glm/PosteriorSamplers/NormalMixtureApproximation.o Models/Glm/PosteriorSamplers/OrdinalLogitImputer.o Models/Glm/PosteriorSamplers/OrdinalLogitPosteriorSampler.o Models/Glm/PosteriorSamplers/PartRegSampler.o Models/Glm/PosteriorSamplers/PoissonDataImputer.o Models/Glm/PosteriorSamplers/PoissonRegressionAuxMixSampler.o Models/Glm/PosteriorSamplers/PoissonRegressionRwmSampler.o Models/Glm/PosteriorSamplers/PoissonRegressionSpikeSlabSampler.o Models/Glm/PosteriorSamplers/ProbitRegressionSampler.o Models/Glm/PosteriorSamplers/ProbitSpikeSlabSampler.o Models/Glm/PosteriorSamplers/QuantileRegressionPosteriorSampler.o Models/Glm/PosteriorSamplers/RegressionCoefficientSampler.o Models/Glm/PosteriorSamplers/RegressionConjSampler.o Models/Glm/PosteriorSamplers/RegressionSemiconjugateSampler.o Models/Glm/PosteriorSamplers/RegressionShrinkageSampler.o Models/Glm/PosteriorSamplers/SpikeSlabDaRegressionSampler.o Models/Glm/PosteriorSamplers/SpikeSlabSampler.o Models/Glm/PosteriorSamplers/TDataImputer.o Models/Glm/PosteriorSamplers/TRegressionSampler.o Models/Glm/PosteriorSamplers/TRegressionSpikeSlabSampler.o Models/Glm/PosteriorSamplers/VsPriorSampler.o Models/Glm/PosteriorSamplers/ZeroInflatedLognormalRegressionPosteriorSampler.o Models/Glm/PosteriorSamplers/ZeroInflatedPoissonRegressionSampler.o Models/Glm/PosteriorSamplers/draw_logit_lambda.o Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_1.o Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_2.o Models/Glm/PosteriorSamplers/fill_poisson_mixture_approximation_table_3.o Models/Glm/PosteriorSamplers/poisson_mixture_approximation_table.o Models/Hierarchical/HierarchicalDirichletModel.o Models/Hierarchical/HierarchicalGammaModel.o Models/Hierarchical/HierarchicalGaussianRegressionModel.o Models/Hierarchical/HierarchicalPoissonModel.o Models/Hierarchical/HierarchicalZeroInflatedGammaModel.o Models/Hierarchical/HierarchicalZeroInflatedPoissonModel.o Models/Hierarchical/PosteriorSamplers/HierGaussianRegressionAsisSampler.o Models/Hierarchical/PosteriorSamplers/HierarchicalDirichletPosteriorSampler.o Models/Hierarchical/PosteriorSamplers/HierarchicalGammaSampler.o Models/Hierarchical/PosteriorSamplers/HierarchicalGaussianRegressionSampler.o Models/Hierarchical/PosteriorSamplers/HierarchicalPoissonSampler.o Models/Hierarchical/PosteriorSamplers/HierarchicalZeroInflatedGammaSampler.o Models/Hierarchical/PosteriorSamplers/HierarchicalZeroInflatedPoissonSampler.o Models/HMM/GeneralHmmStateSpaceWrapper.o Models/HMM/HMM2.o Models/HMM/HealthStateModel.o Models/HMM/HmmDataImputer.o Models/HMM/HmmFilter.o Models/HMM/hmm_tools.o Models/HMM/Clickstream/Event.o Models/HMM/Clickstream/NestedHmm.o Models/HMM/Clickstream/Session.o Models/HMM/Clickstream/Stream.o Models/HMM/Clickstream/PosteriorSamplers/NestedHmmPosteriorSampler.o Models/HMM/PosteriorSamplers/HmmPosteriorSampler.o Models/HMM/PosteriorSamplers/LiuWestParticleFilter.o Models/IRT/DafePcrDataImputer.o Models/IRT/DafePcrItemSampler.o Models/IRT/DafePcrRwmItemSampler.o Models/IRT/DafePcrRwmSubject.o Models/IRT/DafePcrSubject.o Models/IRT/IRT.o Models/IRT/IrtModel.o Models/IRT/Item.o Models/IRT/PartialCreditModel.o Models/IRT/Subject.o Models/IRT/SubjectPrior.o Models/IRT/SubjectSliceSampler.o LinAlg/Array.o LinAlg/ArrayIterator.o LinAlg/Cholesky.o LinAlg/CorrelationMatrix.o LinAlg/DiagonalMatrix.o LinAlg/Eigen.o LinAlg/Givens.o LinAlg/LU.o LinAlg/Matrix.o LinAlg/MatrixPartition.o LinAlg/QR.o LinAlg/SVD.o LinAlg/SWEEP.o LinAlg/Selector.o LinAlg/SpdMatrix.o LinAlg/SubMatrix.o LinAlg/Vector.o LinAlg/VectorView.o LinAlg/stack_columns.o math/cephes/cephes_rgamma.o math/cephes/chbevl.o math/cephes/dawsn.o math/cephes/ei.o math/cephes/expn.o math/cephes/fac.o math/cephes/fresnl.o math/cephes/planck.o math/cephes/polevl.o math/cephes/polylog.o math/cephes/powi.o math/cephes/shichi.o math/cephes/sici.o math/cephes/spence.o math/cephes/zeta.o math/cephes/zetac.o math/kissfft/kiss_fft.o math/fft.o math/lmultigamma.o Models/Mixtures/BetaBinomialMixture.o Models/Mixtures/ConditionalFiniteMixtureModel.o Models/Mixtures/DirichletProcessMixture.o Models/Mixtures/DirichletProcessMvnModel.o Models/Mixtures/MvnMetaAnalysisDPMPriorModel.o Models/Mixtures/identify_permutation.o Models/Mixtures/PosteriorSamplers/BetaBinomialMixturePosteriorSampler.o Models/Mixtures/PosteriorSamplers/ConditionalFiniteMixtureSampler.o Models/Mixtures/PosteriorSamplers/DirichletProcessCollapsedGibbsSampler.o Models/Mixtures/PosteriorSamplers/DirichletProcessMvnCollapsedGibbsSampler.o Models/Mixtures/PosteriorSamplers/DirichletProcessSliceSampler.o Models/Mixtures/PosteriorSamplers/MvnMetaAnalysisDPMPriorSampler.o Models/Mixtures/PosteriorSamplers/SplitMerge.o Models/BetaBinomialModel.o Models/BetaModel.o Models/BinomialModel.o Models/CategoricalData.o Models/ChisqModel.o Models/CompositeData.o Models/CompositeModel.o Models/ConstrainedVectorParams.o Models/DataTypes.o Models/DirichletModel.o Models/DiscreteUniformModel.o Models/ExponentialIncrementModel.o Models/ExponentialModel.o Models/FiniteMixtureModel.o Models/GammaModel.o Models/GaussianModel.o Models/GaussianModelBase.o Models/GaussianModelGivenSigma.o Models/IndependentMvnModel.o Models/IndependentMvnModelGivenScalarSigma.o Models/LognormalModel.o Models/LowRankMvnModel.o Models/MarginallyUniformCorrelationModel.o Models/MarkovModel.o Models/MatrixNormalModel.o Models/ModelTypes.o Models/MultinomialModel.o Models/MvnBase.o Models/MvnGivenScalarSigma.o Models/MvnGivenSigma.o Models/MvnModel.o Models/MvtModel.o Models/ParamTypes.o Models/PoissonGammaModel.o Models/PoissonModel.o Models/PositiveSemidefiniteData.o Models/ProductDirichletModel.o Models/ProductVectorModel.o Models/ScaledChisqModel.o Models/SpdData.o Models/SpdModel.o Models/SpdParams.o Models/Sufstat.o Models/TruncatedGammaModel.o Models/UniformCorrelationModel.o Models/UniformModel.o Models/UniformShrinkagePriorModel.o Models/WeightedGaussianSuf.o Models/WeightedMvnModel.o Models/WishartModel.o Models/ZeroInflatedGammaModel.o Models/ZeroInflatedLognormalModel.o Models/ZeroInflatedPoissonModel.o Models/ZeroMeanGaussianModel.o Models/ZeroMeanMvnModel.o Models/Policies/CompositeParamPolicy.o Models/Policies/ManyParamPolicy.o Models/Policies/MixtureDataPolicy.o Models/Policies/NullParamPolicy.o Models/Policies/PriorPolicy.o Models/PosteriorSamplers/AbsorbingMarkovConjSampler.o Models/PosteriorSamplers/BetaBinomialPosteriorSampler.o Models/PosteriorSamplers/BetaBinomialSampler.o Models/PosteriorSamplers/BetaPosteriorSampler.o Models/PosteriorSamplers/CompositeModelSampler.o Models/PosteriorSamplers/CompositeSampler.o Models/PosteriorSamplers/CorrelationSampler.o Models/PosteriorSamplers/DirichletPosteriorSampler.o Models/PosteriorSamplers/ExchangeableDirichletSampler.o Models/PosteriorSamplers/ExponentialGammaSampler.o Models/PosteriorSamplers/FixedProbBinomialSampler.o Models/PosteriorSamplers/GammaPosteriorSampler.o Models/PosteriorSamplers/GaussianConjSampler.o Models/PosteriorSamplers/GaussianGivenSigmaSampler.o Models/PosteriorSamplers/GaussianMeanSampler.o Models/PosteriorSamplers/GaussianVarSampler.o Models/PosteriorSamplers/GenericGaussianVarianceSampler.o Models/PosteriorSamplers/GenericStudentSampler.o Models/PosteriorSamplers/HierarchicalPosteriorSampler.o Models/PosteriorSamplers/Imputer.o Models/PosteriorSamplers/IndependentMvnConjSampler.o Models/PosteriorSamplers/IndependentMvnVarSampler.o Models/PosteriorSamplers/MarkovConjSampler.o Models/PosteriorSamplers/MarkovConjShrinkageSampler.o Models/PosteriorSamplers/MultinomialDirichletSampler.o Models/PosteriorSamplers/MvnConjSampler.o Models/PosteriorSamplers/MvnIndependentVarianceSampler.o Models/PosteriorSamplers/MvnMeanSampler.o Models/PosteriorSamplers/MvnVarSampler.o Models/PosteriorSamplers/PoissonGammaPosteriorSampler.o Models/PosteriorSamplers/PoissonGammaSampler.o Models/PosteriorSamplers/PosteriorSampler.o Models/PosteriorSamplers/ProductDirichletPosteriorSampler.o Models/PosteriorSamplers/SepStratSampler.o Models/PosteriorSamplers/SharedSigsqSampler.o Models/PosteriorSamplers/ZeroInflatedGammaPosteriorSampler.o Models/PosteriorSamplers/ZeroInflatedLognormalPosteriorSampler.o Models/PosteriorSamplers/ZeroInflatedPoissonSampler.o Models/PosteriorSamplers/ZeroMeanGaussianConjSampler.o Models/PosteriorSamplers/ZeroMeanMvnConjSampler.o Models/PosteriorSamplers/ZeroMeanMvnIndependenceSampler.o numopt/Brent.o numopt/Integral.o numopt/LinearAssignment.o numopt/MarkovDecisionProcess.o numopt/Negate.o numopt/NelderMead.o numopt/NumericalDerivatives.o numopt/Powell.o numopt/Qlearning.o numopt/ScalarLaplaceApproximation.o numopt/ScalarNewtonMax.o numopt/bfgs.o numopt/conj_grad.o numopt/initialize_derivatives.o numopt/max_nd.o numopt/nelder_mead.o numopt/newton.o numopt/simulated_annealing.o Models/Nnet/GaussianFeedForwardNeuralNetwork.o Models/Nnet/Nnet.o Models/Nnet/PosteriorSamplers/GaussianFeedForwardPosteriorSampler.o Models/Nnet/PosteriorSamplers/HiddenLayerImputer.o Models/PointProcess/BoundedPoissonProcessSimulator.o Models/PointProcess/CosinePoissonProcess.o Models/PointProcess/HomogeneousPoissonProcess.o Models/PointProcess/MarkovModulatedPoissonProcess.o Models/PointProcess/PointProcess.o Models/PointProcess/PoissonClusterProcess.o Models/PointProcess/WeeklyCyclePoissonProcess.o Models/PointProcess/PosteriorSamplers/HomogPoissonProcessPosteriorSampler.o Models/PointProcess/PosteriorSamplers/MmppPosteriorSampler.o Models/PointProcess/PosteriorSamplers/WeeklyCyclePoissonProcessSampler.o Bmath/bd0.o Bmath/bessel_k.o Bmath/beta.o Bmath/chebyshev.o Bmath/choose.o Bmath/d1mach.o Bmath/dbeta.o Bmath/dbinom.o Bmath/dcauchy.o Bmath/dchisq.o Bmath/dexp.o Bmath/df.o Bmath/dgamma.o Bmath/dgeom.o Bmath/dhyper.o Bmath/dlnorm.o Bmath/dlogis.o Bmath/dnbeta.o Bmath/dnbinom.o Bmath/dnchisq.o Bmath/dnorm.o Bmath/dpois.o Bmath/dt.o Bmath/dunif.o Bmath/dweibull.o Bmath/fprec.o Bmath/fround.o Bmath/fsign.o Bmath/ftrunc.o Bmath/gamma_cody.o Bmath/gammalims.o Bmath/i1mach.o Bmath/lbeta.o Bmath/lgammacor.o Bmath/mathlib_error.o Bmath/mlutils.o Bmath/pbeta.o Bmath/pbinom.o Bmath/pcauchy.o Bmath/pchisq.o Bmath/pexp.o Bmath/pf.o Bmath/pgamma.o Bmath/pgeom.o Bmath/phyper.o Bmath/plnorm.o Bmath/plogis.o Bmath/pnbeta.o Bmath/pnbinom.o Bmath/pnchisq.o Bmath/pnf.o Bmath/pnorm.o Bmath/pnt.o Bmath/polygamma.o Bmath/ppois.o Bmath/pt.o Bmath/ptukey.o Bmath/punif.o Bmath/pweibull.o Bmath/qbeta.o Bmath/qbinom.o Bmath/qcauchy.o Bmath/qchisq.o Bmath/qexp.o Bmath/qf.o Bmath/qgamma.o Bmath/qgeom.o Bmath/qhyper.o Bmath/qlnorm.o Bmath/qlogis.o Bmath/qnbinom.o Bmath/qnchisq.o Bmath/qnorm.o Bmath/qpois.o Bmath/qt.o Bmath/qtukey.o Bmath/qunif.o Bmath/qweibull.o Bmath/rbeta.o Bmath/rbinom.o Bmath/rcauchy.o Bmath/rchisq.o Bmath/rexp.o Bmath/rf.o Bmath/rgamma.o Bmath/rgeom.o Bmath/rhyper.o Bmath/rlnorm.o Bmath/rloggamma_small_alpha.o Bmath/rlogis.o Bmath/rmultinom.o Bmath/rnbinom.o Bmath/rnchisq.o Bmath/rnorm.o Bmath/rpois.o Bmath/rt.o Bmath/runif.o Bmath/rweibull.o Bmath/sexp.o Bmath/sign.o Bmath/snorm.o Bmath/stirlerr.o Bmath/toms708.o Bmath/unif_rand.o Samplers/ARMS.o Samplers/DirectProposal.o Samplers/ImportanceResampler.o Samplers/MH_Proposals.o Samplers/MetropolisHastings.o Samplers/MoveAccounting.o Samplers/RejectionSampler.o Samplers/Sampler.o Samplers/ScalarAdaptiveRejectionSampler.o Samplers/ScalarLangevinSampler.o Samplers/ScalarSliceSampler.o Samplers/SliceSampler.o Samplers/TIM.o Samplers/UnivariateLangevinSampler.o Samplers/UnivariateSliceSampler.o Samplers/Gilks/arms.o stats/AsciiDistributionCompare.o stats/Bspline.o stats/ChiSquareTest.o stats/DataTable.o stats/Design.o stats/ECDF.o stats/EmpiricalDensity.o stats/Encoders.o stats/FreqDist.o stats/IQagent.o stats/Mspline.o stats/NaturalSpline.o stats/Resampler.o stats/Spline.o stats/acf.o stats/compare_binomial_proportions.o stats/compare_predictions.o stats/diff.o stats/hexbin.o stats/logit.o stats/moments.o stats/quantile.o stats/regression.o stats/simple_random_sample.o stats/summary.o Models/StateSpace/AggregatedStateSpaceRegression.o Models/StateSpace/DynamicInterceptRegression.o Models/StateSpace/DynamicRegression.o Models/StateSpace/MultiplexedData.o Models/StateSpace/StateModelVector.o Models/StateSpace/StateSpaceLogitModel.o Models/StateSpace/StateSpaceModel.o Models/StateSpace/StateSpaceModelBase.o Models/StateSpace/StateSpaceNormalMixture.o Models/StateSpace/StateSpacePoissonModel.o Models/StateSpace/StateSpaceRegressionModel.o Models/StateSpace/StateSpaceStudentRegressionModel.o Models/StateSpace/Filters/ConditionalIidKalmanFilter.o Models/StateSpace/Filters/ConditionallyIndependentKalmanFilter.o Models/StateSpace/Filters/KalmanFilterBase.o Models/StateSpace/Filters/KalmanTools.o Models/StateSpace/Filters/MultivariateKalmanFilterBase.o Models/StateSpace/Filters/ScalarKalmanFilter.o Models/StateSpace/Filters/SparseKalmanTools.o Models/StateSpace/Filters/SparseMatrix.o Models/StateSpace/Filters/SparseVector.o Models/StateSpace/PosteriorSamplers/AggregatedStateSpacePosteriorSampler.o Models/StateSpace/PosteriorSamplers/DynamicRegressionArPosteriorSampler.o Models/StateSpace/PosteriorSamplers/DynamicRegressionDirectGibbs.o Models/StateSpace/PosteriorSamplers/DynamicRegressionPosteriorSampler.o Models/StateSpace/PosteriorSamplers/StateSpaceLogitPosteriorSampler.o Models/StateSpace/PosteriorSamplers/StateSpacePoissonPosteriorSampler.o Models/StateSpace/PosteriorSamplers/StateSpacePosteriorSampler.o Models/StateSpace/PosteriorSamplers/StateSpaceStudentPosteriorSampler.o Models/StateSpace/PosteriorSamplers/StudentLocalLinearTrendPosteriorSampler.o Models/StateSpace/StateModels/ArStateModel.o Models/StateSpace/StateModels/DynamicRegressionArStateModel.o Models/StateSpace/StateModels/DynamicRegressionStateModel.o Models/StateSpace/StateModels/GeneralSeasonalStateModel.o Models/StateSpace/StateModels/HierarchicalRegressionHolidayStateModel.o Models/StateSpace/StateModels/Holiday.o Models/StateSpace/StateModels/LocalLevelStateModel.o Models/StateSpace/StateModels/LocalLinearTrend.o Models/StateSpace/StateModels/RandomWalkHolidayStateModel.o Models/StateSpace/StateModels/RegressionHolidayStateModel.o Models/StateSpace/StateModels/RegressionStateModel.o Models/StateSpace/StateModels/SeasonalStateModel.o Models/StateSpace/StateModels/SemilocalLinearTrend.o Models/StateSpace/StateModels/StateModel.o Models/StateSpace/StateModels/StaticInterceptStateModel.o Models/StateSpace/StateModels/StudentLocalLinearTrend.o Models/StateSpace/StateModels/TrigStateModel.o Models/StateSpace/StateModels/PosteriorSamplers/GeneralSeasonalLLTPosteriorSampler.o Models/StateSpace/Multivariate/MultivariateStateSpaceModelBase.o Models/StateSpace/Multivariate/MultivariateStateSpaceRegressionModel.o Models/StateSpace/Multivariate/StudentMvssRegressionModel.o Models/StateSpace/Multivariate/PosteriorSamplers/MultivariateStateSpaceModelSampler.o Models/StateSpace/Multivariate/PosteriorSamplers/MvStateSpaceRegressionPosteriorSampler.o Models/StateSpace/Multivariate/PosteriorSamplers/SADSampler.o Models/StateSpace/Multivariate/PosteriorSamplers/SharedLocalLevelPosteriorSampler.o Models/StateSpace/Multivariate/PosteriorSamplers/StudentMvssPosteriorSampler.o Models/StateSpace/Multivariate/StateModels/ScalarStateModelAdapter.o Models/StateSpace/Multivariate/StateModels/SharedLocalLevel.o TargetFun/JacobianChecker.o TargetFun/LogPost.o TargetFun/LogTransform.o TargetFun/LogitTransform.o TargetFun/MultinomialLogitTransform.o TargetFun/ScalarLogpostTF.o TargetFun/TargetFun.o TargetFun/Transformation.o Models/TimeSeries/ArModel.o Models/TimeSeries/ArmaModel.o Models/TimeSeries/ArmaPriors.o Models/TimeSeries/NonzeroMeanAr1Model.o Models/TimeSeries/PosteriorSamplers/ArPosteriorSampler.o Models/TimeSeries/PosteriorSamplers/ArSpikeSlabSampler.o Models/TimeSeries/PosteriorSamplers/ArmaSliceSampler.o Models/TimeSeries/PosteriorSamplers/NonzeroMeanAr1Sampler.o cpputil/AsciiGraph.o cpputil/Date.o cpputil/DateTime.o cpputil/DefaultVnames.o cpputil/LongString.o cpputil/OutputTable.o cpputil/ParamHolder.o cpputil/Polynomial.o cpputil/Redirector.o cpputil/ThreadTools.o cpputil/apply_permutation.o cpputil/compare_vector_bool.o cpputil/concatenate_strings.o cpputil/gll.o cpputil/is_all_white.o cpputil/is_numeric.o cpputil/legalize_file_name.o cpputil/lse.o cpputil/parse_range.o cpputil/print_columns.o cpputil/read_file.o cpputil/rep.o cpputil/replace_all.o cpputil/report_error.o cpputil/safelog.o cpputil/split.o cpputil/split_delimited.o cpputil/split_string.o cpputil/strip.o cpputil/strip_path.o cpputil/strip_white_space.o cpputil/substring_delimited.o cpputil/trim_white_space.o
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/Boom/src'
make[1]: Entering directory '/data/gannet/ripley/R/packages/tests-devel/Boom/src'
make[1]: Leaving directory '/data/gannet/ripley/R/packages/tests-devel/Boom/src'
installing via 'install.libs.R' to /data/gannet/ripley/R/packages/tests-devel/Boom.Rcheck/00LOCK-Boom/00new/Boom
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (Boom)