mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-30 15:26:23 +02:00
Merge branch 'devel' of github.com:SheffieldML/GPy into devel
This commit is contained in:
commit
a87f76df4f
1 changed files with 5 additions and 1 deletions
|
|
@ -1,7 +1,7 @@
|
|||
# Copyright (c) 2012, GPy authors (see AUTHORS.txt).
|
||||
# Licensed under the BSD 3-clause license (see LICENSE.txt)
|
||||
|
||||
__updated__ = '2014-05-12'
|
||||
__updated__ = '2014-10-22'
|
||||
|
||||
import numpy as np
|
||||
from parameter_core import Observable, Pickleable
|
||||
|
|
@ -34,6 +34,10 @@ class ObsAr(np.ndarray, Pickleable, Observable):
|
|||
# do not setup anything, as observable arrays do not have default observers
|
||||
pass
|
||||
|
||||
@property
|
||||
def values(self):
|
||||
return self.view(np.ndarray)
|
||||
|
||||
def copy(self):
|
||||
from lists_and_dicts import ObserverList
|
||||
memo = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue