Skip to main content

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

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