Add warning for not slicing
This commit is contained in:
parent
5f9725d515
commit
b11b53aca1
@ -52,6 +52,8 @@ namespace atrip {
|
|||||||
, origin_.up.data()
|
, origin_.up.data()
|
||||||
, 1.0);
|
, 1.0);
|
||||||
memcpy(v.data(), toSlice.data, sizeof(F) * v.size());
|
memcpy(v.data(), toSlice.data, sizeof(F) * v.size());
|
||||||
|
#else
|
||||||
|
# pragma message("WARNING: COMPILING WITHOUT SLICING THE TENSORS")
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user