Raw File
Tip revision: aeb0ab472296c0298c2b007c30af2705a75a89f8 authored by ST John on 18 June 2019, 09:46:26 UTC
fix bugs in test
Tip revision: aeb0ab4
from multipledispatch import dispatch, Dispatcher
from functools import partial

# By default multipledispatch uses a global namespace in multipledispatch.core.global_namespace
# We define our own GPflow namespace to avoid any conflict which may arise
gpflow_md_namespace = dict()
dispatch = partial(dispatch, namespace=gpflow_md_namespace)

conditional = Dispatcher('conditional')
sample_conditional = Dispatcher('sample_conditional')
back to top