Skip to content

Commit

Permalink
clang fix
Browse files Browse the repository at this point in the history
  • Loading branch information
uecker committed Sep 10, 2024
1 parent 25dcb6c commit b5bed05
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/num/multind.c
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,10 @@ static void md_loop_r(int D, const long dim[D], unsigned long flags, long pos[D]
* Runs fun(data, position) for all position in dim
*
*/
void md_parallel_loop(int D, const long dim[static D], unsigned long flags, md_loop_fun_t fun)
void md_parallel_loop(int D, const long _dim[static D], unsigned long flags, md_loop_fun_t fun)
{
const long *dim = _dim; // clang

NESTED(void, fun2, (unsigned long flags2, long *pos))
{
md_loop_r(D, dim, flags2, pos, fun);
Expand Down

0 comments on commit b5bed05

Please sign in to comment.