Skip to content

Commit c12e7f1

Browse files
committed
Fix test/det
1 parent 8e7dea5 commit c12e7f1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/det.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,9 @@ fn det_zero_nonsquare() {
100100

101101
#[test]
102102
fn det() {
103-
fn det_impl<A, Tol>(a: Array2<A>, rtol: Tol)
103+
fn det_impl<A>(a: Array2<A>, rtol: A::Real)
104104
where
105-
A: Scalar<Real = Tol>,
106-
Tol: RealScalar<Real = Tol>,
105+
A: Scalar + Lapack,
107106
{
108107
let det = det_naive(&a);
109108
let sign = det.div_real(det.abs());

0 commit comments

Comments
 (0)