mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-30 14:35:15 +02:00
Merge branch 'devel' of github.com:SheffieldML/GPy into devel
This commit is contained in:
commit
0947112f3c
9 changed files with 333 additions and 125 deletions
|
|
@ -191,7 +191,7 @@ class Pickleable(object):
|
|||
"""
|
||||
import cPickle as pickle
|
||||
if isinstance(f, str):
|
||||
with open(f, 'w') as f:
|
||||
with open(f, 'wb') as f:
|
||||
pickle.dump(self, f, protocol)
|
||||
else:
|
||||
pickle.dump(self, f, protocol)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue