Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python_actr/actr/pm.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import python_actr
import math
import collections
import typing

__all__=['ProceduralSubModule','PMNoise','PMPGC',
'PMPGCSuccessWeighted','PMPGCMixedWeighted',
Expand Down Expand Up @@ -45,7 +45,7 @@ def create(self,prod,parents=None):
prod.successes=1
prod.failures=0
prod.time=self.parent.production_time
if isinstance(prod.time, collections.Callable): prod.time=prod.time()
if isinstance(prod.time, typing.Callable): prod.time=prod.time()
prod.lock_pgc=False
def selecting(self,prod):
if self._clearFlag:
Expand Down