mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-30 14:35:15 +02:00
delete dangling fixed attribute in constraints
This commit is contained in:
parent
46ee737492
commit
161f352838
1 changed files with 3 additions and 0 deletions
|
|
@ -95,6 +95,9 @@ class ParameterIndexOperations(object):
|
|||
def __getitem__(self, prop):
|
||||
return self._properties[prop]
|
||||
|
||||
def __delitem__(self, prop):
|
||||
del self._properties[prop]
|
||||
|
||||
def __str__(self, *args, **kwargs):
|
||||
import pprint
|
||||
return pprint.pformat(dict(self._properties))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue