pymultinest.py 207 Bytes
Newer Older
Theo Steininger's avatar
Theo Steininger committed
1
2
3
4
5
6
7
8
9
10
11
12
# -*- coding: utf-8 -*-

import sys
import mpi4py
import mpi4py_shadow

mpi4py_backup = sys.modules['mpi4py']
sys.modules['mpi4py'] = mpi4py_shadow

import pymultinest

sys.modules['mpi4py'] = mpi4py_backup