WSL/SLF GitLab Repository

Commit 22976fa3 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

Small fix to get rid of a warning in Alpine3D

parent cadf35d6
......@@ -624,7 +624,7 @@ size_t seek(const Date& soughtdate, const std::vector<MeteoData>& vecM, const bo
return npos;
}
void getArraySliceParams(const size_t& dimx, const unsigned int& nbworkers, const unsigned int &wk, size_t& startx, size_t& nx)
void getArraySliceParams(const size_t& dimx, const size_t& nbworkers, const size_t &wk, size_t& startx, size_t& nx)
{
if(nbworkers>dimx) {
std::ostringstream ss;
......
......@@ -294,7 +294,7 @@ namespace IOUtils {
* @param[out] startx calculated start index for the current slice
* @param[out] nx calculated number of cells (in the desired dimension) of the current slice
*/
void getArraySliceParams(const size_t& dimx, const unsigned int& nbworkers, const unsigned int &wk, size_t& startx, size_t& nx);
void getArraySliceParams(const size_t& dimx, const size_t& nbworkers, const size_t &wk, size_t& startx, size_t& nx);
/**
* @brief Convert a textual representation of a unit prefix (like 'm' or 'G') to multiplying factor
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment