mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-05 14:55:15 +02:00
Round to 14 decimals to avoid problems.
This commit is contained in:
parent
2303132933
commit
a25844ac71
1 changed files with 2 additions and 2 deletions
|
|
@ -360,8 +360,8 @@ class StateSpace(Model):
|
|||
# Optimize for cases where time steps occur repeatedly
|
||||
else:
|
||||
|
||||
# Time discretizations
|
||||
dt, _, index = np.unique(dt,True,True)
|
||||
# Time discretizations (round to 14 decimals to avoid problems)
|
||||
dt, _, index = np.unique(np.round(dt,14),True,True)
|
||||
|
||||
# Allocate space for A and Q
|
||||
A = np.empty((n,n,dt.shape[0]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue