Commit d77d5887 authored by Santiago Ospina De Los Ríos's avatar Santiago Ospina De Los Ríos 🇨🇴

[Transport] Initializate range tensor always

parent df86f1d0
......@@ -89,9 +89,7 @@ public:
using TensorRange = decltype(y_tensor);
int count = 0;
if constexpr (dimRange!=TensorRange::rows or dimRange!=TensorRange::cols)
y = Range(0.);
y = Range(0.);
for (int i = 0; i < dimRange; ++i)
for (int j = 0; j < dimRange; ++j, ++count)
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment