Skip to content

Commit

Permalink
satisfy CI pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
pfackeldey committed Sep 27, 2023
1 parent cf4c88b commit 4e44fbe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,4 @@ jobs:

- name: Test examples
run: >-
for f in examples/*.py; do python "$f"; done
for f in examples/*.py; do echo "run $f" && python "$f"; done
3 changes: 0 additions & 3 deletions examples/model.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
from __future__ import annotations

import equinox as eqx
import jax
import jax.numpy as jnp

Expand Down Expand Up @@ -85,8 +84,6 @@ def create_model():

model = create_model()

eqx.tree_pprint(model)

init_values = model.parameter_values
observation = jnp.array([37])
asimov = model.evaluate().expectation()
Expand Down
2 changes: 1 addition & 1 deletion examples/nll_profiling.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
import equinox as eqx
import jax
import jax.numpy as jnp
from examples.model import asimov, model, optimizer
from jax.config import config
from model import asimov, model, optimizer

from dilax.likelihood import NLL
from dilax.model import Model
Expand Down

0 comments on commit 4e44fbe

Please sign in to comment.