mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
[updates] made updates a function
This commit is contained in:
parent
32469e0461
commit
9a74a933f3
3 changed files with 45 additions and 19 deletions
|
|
@ -249,7 +249,7 @@ class Param(Parameterizable, ObsAr):
|
|||
try:
|
||||
indices = np.indices(self._realshape_, dtype=int)
|
||||
indices = indices[(slice(None),)+slice_index]
|
||||
indices = np.rollaxis(indices, 0, indices.ndim).reshape(-1,2)
|
||||
indices = np.rollaxis(indices, 0, indices.ndim).reshape(-1,self._realndim_)
|
||||
#print indices_
|
||||
#if not np.all(indices==indices__):
|
||||
# import ipdb; ipdb.set_trace()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue