mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-30 14:35:15 +02:00
fix for tie print
This commit is contained in:
parent
c279da4c75
commit
f0df591625
3 changed files with 6 additions and 6 deletions
|
|
@ -224,7 +224,7 @@ class Param(Parameterizable, ObsAr):
|
|||
def _ties_str(self):
|
||||
return ['']
|
||||
def _ties_for(self, ravi):
|
||||
return [['N/A' if self.tie.flat[i]==0 else str(self.tie[i])] for i in xrange(ravi.size)]
|
||||
return [['N/A' if self.tie.flat[i]==0 else str(self.tie.flat[i])] for i in xrange(ravi.size)]
|
||||
def __repr__(self, *args, **kwargs):
|
||||
name = "\033[1m{x:s}\033[0;0m:\n".format(
|
||||
x=self.hierarchy_name())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue