mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-07 11:02:38 +02:00
indexing bugfix in weave
This commit is contained in:
parent
a87f76df4f
commit
f6f36234c6
1 changed files with 1 additions and 1 deletions
|
|
@ -200,7 +200,7 @@ class Stationary(Kern):
|
|||
gradq += tmp(n,m)*(X(n,q)-X2(m,q))*(X(n,q)-X2(m,q));
|
||||
}
|
||||
}
|
||||
grads[q] = gradq;
|
||||
grads(q) = gradq;
|
||||
}
|
||||
"""
|
||||
weave.inline(code, ['tmp', 'X', 'X2', 'grads', 'N', 'M', 'Q'], type_converters=weave.converters.blitz, support_code="#include <math.h>")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue