We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a574ed5 commit f26db1fCopy full SHA for f26db1f
pymc/tests/test_model.py
@@ -1138,11 +1138,11 @@ def setup_method(self):
1138
_, self.model, _ = simple_model()
1139
1140
def test_profile_model(self):
1141
- assert self.model.profile(self.model.logp()).fct_call_time > 0
+ assert self.model.profile(self.model.logp(), n=3000).fct_call_time > 0
1142
1143
def test_profile_variable(self):
1144
rv = self.model.basic_RVs[0]
1145
- assert self.model.profile(self.model.logp(vars=[rv], sum=False)).fct_call_time
+ assert self.model.profile(self.model.logp(vars=[rv], sum=False), n=3000).fct_call_time > 0
1146
1147
def test_profile_count(self):
1148
count = 1005
0 commit comments