mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-27 14:25:16 +02:00
Fix DSYR function (See https://github.com/scipy/scipy/issues/8155)
This commit is contained in:
parent
754c67f71d
commit
0cfd1cdc6e
3 changed files with 18 additions and 2 deletions
|
|
@ -329,7 +329,8 @@ def DSYR_blas(A, x, alpha=1.):
|
|||
:param alpha: scalar
|
||||
|
||||
"""
|
||||
A = blas.dsyr(lower=0, x=x, a=A, alpha=alpha, overwrite_a=True)
|
||||
At = blas.dsyr(lower=0, x=x, a=A, alpha=alpha, overwrite_a=False) #See https://github.com/scipy/scipy/issues/8155
|
||||
A[:] = At
|
||||
symmetrify(A, upper=True)
|
||||
|
||||
def DSYR_numpy(A, x, alpha=1.):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue