mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-13 14:03:20 +02:00
[indexing] maybe? cannot tell, tests are broken
This commit is contained in:
parent
4886dfde08
commit
d06f8b9272
1 changed files with 0 additions and 1 deletions
|
|
@ -254,7 +254,6 @@ class Param(Parameterizable, ObsAr):
|
||||||
#if not np.all(indices==indices__):
|
#if not np.all(indices==indices__):
|
||||||
# import ipdb; ipdb.set_trace()
|
# import ipdb; ipdb.set_trace()
|
||||||
except:
|
except:
|
||||||
print "Warning: extended indexing was used"
|
|
||||||
indices = np.indices(self._realshape_, dtype=int)
|
indices = np.indices(self._realshape_, dtype=int)
|
||||||
indices = indices[(slice(None),)+slice_index]
|
indices = indices[(slice(None),)+slice_index]
|
||||||
indices = np.rollaxis(indices, 0, indices.ndim)
|
indices = np.rollaxis(indices, 0, indices.ndim)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue