WSL/SLF GitLab Repository
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
snow-models
meteoio
Commits
22976fa3
Commit
22976fa3
authored
Sep 28, 2015
by
Mathias Bavay
Browse files
Small fix to get rid of a warning in Alpine3D
parent
cadf35d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
meteoio/IOUtils.cc
View file @
22976fa3
...
...
@@ -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
in
t
&
nbworkers
,
const
unsigned
in
t
&
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
;
...
...
meteoio/IOUtils.h
View file @
22976fa3
...
...
@@ -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
in
t
&
nbworkers
,
const
unsigned
in
t
&
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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment