Skip to main content

conspire/math/assert/fd_eq/owned/
rank_4.rs

1use super::super::{AssertFd, eq_within_fd_tol_impl};
2use crate::math::TensorRank4;
3use crate::math::assert::{Assert, AssertionError};
4
5impl<const D: usize, I, J, K, L> AssertFd<TensorRank4<D, I, J, K, L>>
6    for TensorRank4<D, I, J, K, L>
7{
8    fn eq_within_fd_tol(
9        tols: &Assert,
10        a: Self,
11        b: TensorRank4<D, I, J, K, L>,
12    ) -> Result<(), AssertionError> {
13        eq_within_fd_tol_impl(tols, &a, &b)
14    }
15}