1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-19 17:03:45 +02:00

fixed a compiler error just introduced

This commit is contained in:
Oliver Hahn 2020-12-10 15:55:36 +01:00
parent 563a6c9f07
commit bce685d102

View file

@ -175,7 +175,7 @@ protected:
grid_p_ = pdescriptor_->i_base;
lextra_ = (log10((double)std::max(ngrid_,ngidminsize_panphasia) / (double)grid_p_) + 0.001) / log10(2.0);
lextra_ = (log10((double)std::max<size_t>(ngrid_,ngidminsize_panphasia) / (double)grid_p_) + 0.001) / log10(2.0);
// lmin
ngrid_panphasia_ = (1 << lextra_) * grid_p_;