Skip to content

Commit

Permalink
bug fix: Monte-Carlo simulation: call next/simulation instead of `c…
Browse files Browse the repository at this point in the history
…alculate`
  • Loading branch information
msrocka committed Sep 19, 2018
1 parent 077845f commit eea6cec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion olca/ipc.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def next_simulation(self, simulator: schema.Ref) -> schema.SimpleResult:
"""
if simulator is None:
raise ValueError('No simulator given')
resp = self.__post('calculate', simulator.to_json())
resp = self.__post('next/simulation', simulator.to_json())
result = schema.SimpleResult()
result.from_json(resp)
return result
Expand Down

0 comments on commit eea6cec

Please sign in to comment.