Add warning for not slicing

This commit is contained in:
Alejandro Gallo 2022-09-30 14:36:05 +02:00
parent 5f9725d515
commit b11b53aca1

View File

@ -52,6 +52,8 @@ namespace atrip {
, origin_.up.data()
, 1.0);
memcpy(v.data(), toSlice.data, sizeof(F) * v.size());
#else
# pragma message("WARNING: COMPILING WITHOUT SLICING THE TENSORS")
#endif
}