mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-27 14:25:16 +02:00
[doc] some changes to the doc, using mathjax some additions in math
This commit is contained in:
parent
bcc1e7c8d4
commit
6996912184
11 changed files with 244 additions and 121 deletions
|
|
@ -74,7 +74,7 @@ class Parameterized(Parameterizable):
|
|||
# Metaclass for parameters changed after init.
|
||||
# This makes sure, that parameters changed will always be called after __init__
|
||||
# **Never** call parameters_changed() yourself
|
||||
#This is ignored in Python 3 -- you need to put the meta class in the function definition.
|
||||
#This is ignored in Python 3 -- you need to put the meta class in the function definition.
|
||||
#__metaclass__ = ParametersChangedMeta
|
||||
#The six module is used to support both Python 2 and 3 simultaneously
|
||||
#===========================================================================
|
||||
|
|
@ -316,7 +316,7 @@ class Parameterized(Parameterizable):
|
|||
param[:] = val; return
|
||||
except AttributeError:
|
||||
pass
|
||||
object.__setattr__(self, name, val);
|
||||
return object.__setattr__(self, name, val);
|
||||
|
||||
#===========================================================================
|
||||
# Pickling
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue