inline for perf

This commit is contained in:
2021-02-02 00:12:03 +01:00
parent 299b4f8083
commit b15ea57e6d
+1
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,