Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ SReal BTDMatrix<N, T>::element(Index i, Index j) const
const Index bi = i / BSIZE; i = i % BSIZE;
const Index bj = j / BSIZE; j = j % BSIZE;
const Index bindex = bj - bi + 1;
if (bindex >= 3) return (SReal)0;
if (bindex >= 3 || bindex < 0) return (SReal)0;
return data[bi*3+bindex](i,j);
}

Expand Down
Loading