Silence an unused variable warning.
This commit is contained in:
parent
c023ecdcec
commit
cf246cd097
@ -74,6 +74,7 @@ vector vector::cross (const double *restrict A,
|
|||||||
const double *restrict B,
|
const double *restrict B,
|
||||||
unsigned int size) {
|
unsigned int size) {
|
||||||
CHECK_HARD (size == 3);
|
CHECK_HARD (size == 3);
|
||||||
|
(void)size;
|
||||||
return vector ({ A[1] * B[2] - A[2] * B[1],
|
return vector ({ A[1] * B[2] - A[2] * B[1],
|
||||||
A[2] * B[0] - A[0] * B[2],
|
A[2] * B[0] - A[0] * B[2],
|
||||||
A[0] * B[1] - A[1] * B[0] });
|
A[0] * B[1] - A[1] * B[0] });
|
||||||
|
Loading…
Reference in New Issue
Block a user