You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every file creates this compiler warning, which I don't see, but CRAN may:
In file included from walk.cpp:64:
In file included from ../inst/include/dust/interface.hpp:14:
../inst/include/dust/rng_interface.hpp:28:43: warning: implicit conversion from 'std::__1::numeric_limits<unsigned long>::type' (aka 'unsigned long') to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
std::ceil(std::abs(::unif_rand()) * std::numeric_limits<size_t>::max());
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/dust/rng_interface.hpp:28:43: warning: implicit conversion from 'std::__1::numeric_limits<unsigned long>::type' (aka 'unsigned long') to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
std::ceil(std::abs(::unif_rand()) * std::numeric_limits<size_t>::max());
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/dust/interface.hpp:43:22: note: in instantiation of function template specialization 'dust::interface::as_rng_seed<double>' requested here
dust::interface::as_rng_seed<typename T::real_t>(r_seed);
^
walk.cpp:113:19: note: in instantiation of function template specialization 'dust::r::dust_alloc<walk>' requested here
return dust::r::dust_alloc<walk>(r_pars, pars_multi, step, r_n_particles,
^
2 warnings generated.
In file included from walk.cpp:64:
In file included from ../inst/include/dust/interface.hpp:14:
../inst/include/dust/rng_interface.hpp:28:43: warning: implicit conversion from 'std::__1::numeric_limits<unsigned long>::type' (aka 'unsigned long') to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
std::ceil(std::abs(::unif_rand()) * std::numeric_limits<size_t>::max());
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/dust/rng_interface.hpp:28:43: warning: implicit conversion from 'std::__1::numeric_limits<unsigned long>::type' (aka 'unsigned long') to 'double' changes value from 18446744073709551615 to 18446744073709551616 [-Wimplicit-int-float-conversion]
std::ceil(std::abs(::unif_rand()) * std::numeric_limits<size_t>::max());
~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../inst/include/dust/interface.hpp:43:22: note: in instantiation of function template specialization 'dust::interface::as_rng_seed<double>' requested here
dust::interface::as_rng_seed<typename T::real_t>(r_seed);
^
walk.cpp:113:19: note: in instantiation of function template specialization 'dust::r::dust_alloc<walk>' requested here
return dust::r::dust_alloc<walk>(r_pars, pars_multi, step, r_n_particles,
^
2 warnings generated.
The output is fairly opaque, but I think we are ok, easiest way to run remotely is to do
docker run --rm -it -v $PWD:/input:ro kalibera/rchk:latest /input/dust_0.9.21.tar.gz
The text was updated successfully, but these errors were encountered:
Every file creates this compiler warning, which I don't see, but CRAN may:
The output is fairly opaque, but I think we are ok, easiest way to run remotely is to do
The text was updated successfully, but these errors were encountered: