mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 12:02:38 +02:00
FIX: Fixint the bug with matrix exponential computation.
This commit is contained in:
parent
3815b7d0b3
commit
3ef070a0dc
1 changed files with 1 additions and 1 deletions
|
|
@ -3281,7 +3281,7 @@ def matrix_exponent(M):
|
|||
try:
|
||||
Mexp = linalg.expm(M)
|
||||
method = 1
|
||||
except (FloatingPointError, ValueError) as e:
|
||||
except (Exception,) as e:
|
||||
Mexp = linalg.expm3(M)
|
||||
method = 2
|
||||
finally:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue