Commit 90076c0f authored by Philipp Arras's avatar Philipp Arras
Browse files

Fixup

parent b3d458af
......@@ -46,6 +46,7 @@ class EnergyAdapter(Energy):
super(EnergyAdapter, self).__init__(position)
self._op = op
self._constants = constants
self._op4eval = _op4eval
if self._op4eval is None:
if len(constants) > 0:
dom = {kk: vv for kk, vv in position.domain.items()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment