Skip to content

Commit 5598298

Browse files
michaelosthegericardoV94
authored andcommitted
Fixes and XFAILs related to static shape handling
1 parent 8b8e49b commit 5598298

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

pymc/tests/gp/test_gp.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ class TestMarginalApproxSigmaParams(TestSigmaParams):
7676

7777
gp_implementation = pm.gp.MarginalApprox
7878

79+
@pytest.mark.xfail(reason="Possible shape problem, see #6366")
7980
def test_catch_warnings(self):
8081
"""Warning from using the old noise parameter."""
8182
with self.model:

pymc/tests/ode/test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def ode_func(y, t, p):
2626
return np.exp(-t) - p[0] * y[0]
2727

2828
# Computation of graidients with PyTensor
29-
augmented_ode_func = augment_system(ode_func, 1, 1 + 1)
29+
augmented_ode_func = augment_system(ode_func, n_states=1, n_theta=1)
3030

3131
# This is the new system, ODE + Sensitivities, which will be integrated
3232
def augmented_system(Y, t, p):

0 commit comments

Comments
 (0)