File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -468,7 +468,8 @@ where
468468 self . ensure_square ( ) ?;
469469 match self . factorize ( ) {
470470 Ok ( fac) => fac. sln_det ( ) ,
471- Err ( LinalgError :: Lapack ( e) ) if matches ! ( e, lax:: error:: Error :: LapackComputationalFailure { ..} ) =>
471+ Err ( LinalgError :: Lapack ( e) )
472+ if matches ! ( e, lax:: error:: Error :: LapackComputationalFailure { .. } ) =>
472473 {
473474 // The determinant is zero.
474475 Ok ( ( A :: zero ( ) , A :: Real :: neg_infinity ( ) ) )
@@ -487,7 +488,8 @@ where
487488 self . ensure_square ( ) ?;
488489 match self . factorize_into ( ) {
489490 Ok ( fac) => fac. sln_det_into ( ) ,
490- Err ( LinalgError :: Lapack ( e) ) if matches ! ( e, lax:: error:: Error :: LapackComputationalFailure { .. } ) =>
491+ Err ( LinalgError :: Lapack ( e) )
492+ if matches ! ( e, lax:: error:: Error :: LapackComputationalFailure { .. } ) =>
491493 {
492494 // The determinant is zero.
493495 Ok ( ( A :: zero ( ) , A :: Real :: neg_infinity ( ) ) )
Original file line number Diff line number Diff line change @@ -426,7 +426,8 @@ where
426426 fn sln_deth ( & self ) -> Result < ( A :: Real , A :: Real ) > {
427427 match self . factorizeh ( ) {
428428 Ok ( fac) => Ok ( fac. sln_deth ( ) ) ,
429- Err ( LinalgError :: Lapack ( e) ) if matches ! ( e, lax:: error:: Error :: LapackComputationalFailure { ..} ) =>
429+ Err ( LinalgError :: Lapack ( e) )
430+ if matches ! ( e, lax:: error:: Error :: LapackComputationalFailure { .. } ) =>
430431 {
431432 // Determinant is zero.
432433 Ok ( ( A :: Real :: zero ( ) , A :: Real :: neg_infinity ( ) ) )
@@ -451,7 +452,8 @@ where
451452 fn sln_deth_into ( self ) -> Result < ( A :: Real , A :: Real ) > {
452453 match self . factorizeh_into ( ) {
453454 Ok ( fac) => Ok ( fac. sln_deth_into ( ) ) ,
454- Err ( LinalgError :: Lapack ( e) ) if matches ! ( e, lax:: error:: Error :: LapackComputationalFailure { ..} ) =>
455+ Err ( LinalgError :: Lapack ( e) )
456+ if matches ! ( e, lax:: error:: Error :: LapackComputationalFailure { .. } ) =>
455457 {
456458 // Determinant is zero.
457459 Ok ( ( A :: Real :: zero ( ) , A :: Real :: neg_infinity ( ) ) )
You can’t perform that action at this time.
0 commit comments