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, const I: usize, const J: usize, const K: usize>
6 AssertFd<TensorRank3<D, I, J, K>> for TensorRank3<D, I, J, K>
7{
8 fn eq_within_fd_tol(
9 tols: &Assert,
10 a: Self,
11 b: TensorRank3<D, I, J, K>,
12 ) -> Result<(), AssertionError> {
13 eq_within_fd_tol_impl(tols, &a, &b)
14 }
15}