inline for perf

This commit is contained in:
Magnus Ulimoen 2021-02-01 23:21:06 +01:00
parent 299b4f8083
commit b15ea57e6d
1 changed files with 1 additions and 0 deletions

View File

@ -270,6 +270,7 @@ pub(crate) fn diff_op_2d_fallback<const M: usize, const N: usize, const D: usize
} }
} }
#[inline(always)]
pub(crate) fn diff_op_2d_sliceable<const M: usize, const N: usize, const D: usize>( pub(crate) fn diff_op_2d_sliceable<const M: usize, const N: usize, const D: usize>(
matrix: &BlockMatrix<Float, M, N, D>, matrix: &BlockMatrix<Float, M, N, D>,
optype: OperatorType, optype: OperatorType,