Skip to content
Snippets Groups Projects
Commit 12c3e45c authored by Christophe Guillon's avatar Christophe Guillon Committed by Maxence Naud
Browse files

[Tensor] Fix Tensor::getIdx() method

The getIdx() method generates segfault on 0-rank coords
due to an out-of-bound access.
Also the computation was wrong for rank of coords
lower than rank of tensor by 2 or more.
parent da92267d
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment