Skip to content

Commit d12e298

Browse files
authored
not keyword not recognized in msvc (#3684)
1 parent 3994d1e commit d12e298

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/arrayfire_test.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2063,13 +2063,13 @@ af::array toTempFormat(tempFormat form, const af::array &in) {
20632063
switch (form) {
20642064
case JIT_FORMAT:
20652065
switch (in.type()) {
2066-
case b8: ret = not(in); break;
2066+
case b8: ret = !(in); break;
20672067
default: ret = in * 2;
20682068
}
20692069
// Make sure that the base array is <> form original
20702070
ret.eval();
20712071
switch (in.type()) {
2072-
case b8: ret = not(ret); break;
2072+
case b8: ret = !(ret); break;
20732073
default: ret /= 2;
20742074
}
20752075
break;

0 commit comments

Comments
 (0)