Skip to content
This repository was archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanYashchuk committed Feb 28, 2021
1 parent 31ca1cf commit fd6ff26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fenics_pymc3/core.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import theano

try:
from theano.graph.op import Op, Apply, type
from theano.graph.op import Op, Apply
from theano.graph import type
except ModuleNotFoundError:
# older version of theano
from theano.gof import Op, Apply, type
Expand Down

0 comments on commit fd6ff26

Please sign in to comment.