Skip to content

Commit

Permalink
[Fix][#471] Fixes weird Intel compiler bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dmed256 committed Jan 22, 2021
1 parent e4c7e4f commit 7cdd158
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions include/occa/functional/array.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,10 +450,8 @@ namespace occa {
return clone();
}

const int size = (int) length();

occa::scope fnScope({
{"size", size},
{"size", (int) length()},
{"offset", offset},
{"emptyValue", emptyValue},
});
Expand Down

0 comments on commit 7cdd158

Please sign in to comment.