coord/ops: return the computed value in unary ops
This commit is contained in:
parent
ffc3952113
commit
8035cbf46f
@ -236,7 +236,7 @@ namespace util {
|
|||||||
for (size_t i = 0; i < S; ++i) \
|
for (size_t i = 0; i < S; ++i) \
|
||||||
out[i] = OP k[i]; \
|
out[i] = OP k[i]; \
|
||||||
\
|
\
|
||||||
return k; \
|
return out; \
|
||||||
}
|
}
|
||||||
|
|
||||||
UNARY_OP(!)
|
UNARY_OP(!)
|
||||||
|
Loading…
Reference in New Issue
Block a user