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
468
468
self . ensure_square ( ) ?;
469
469
match self . factorize ( ) {
470
470
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 { .. } ) =>
472
473
{
473
474
// The determinant is zero.
474
475
Ok ( ( A :: zero ( ) , A :: Real :: neg_infinity ( ) ) )
@@ -487,7 +488,8 @@ where
487
488
self . ensure_square ( ) ?;
488
489
match self . factorize_into ( ) {
489
490
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 { .. } ) =>
491
493
{
492
494
// The determinant is zero.
493
495
Ok ( ( A :: zero ( ) , A :: Real :: neg_infinity ( ) ) )
Original file line number Diff line number Diff line change @@ -426,7 +426,8 @@ where
426
426
fn sln_deth ( & self ) -> Result < ( A :: Real , A :: Real ) > {
427
427
match self . factorizeh ( ) {
428
428
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 { .. } ) =>
430
431
{
431
432
// Determinant is zero.
432
433
Ok ( ( A :: Real :: zero ( ) , A :: Real :: neg_infinity ( ) ) )
@@ -451,7 +452,8 @@ where
451
452
fn sln_deth_into ( self ) -> Result < ( A :: Real , A :: Real ) > {
452
453
match self . factorizeh_into ( ) {
453
454
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 { .. } ) =>
455
457
{
456
458
// Determinant is zero.
457
459
Ok ( ( A :: Real :: zero ( ) , A :: Real :: neg_infinity ( ) ) )
You can’t perform that action at this time.
0 commit comments