Skip to content

Commit

Permalink
reverted changes
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhambhar007 committed Dec 4, 2023
1 parent 396c046 commit 0176a26
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/run_periodic_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
- name: Check style
run: |
python -m pip install pre-commit
pre-commit run --files $(git diff --name-only HEAD^)
git add .
pre-commit run ruff
build:
needs: style
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test_on_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
- name: Check style
run: |
python -m pip install pre-commit
pre-commit run --files $(git diff --name-only HEAD^)
git add .
pre-commit run ruff
run_unit_tests:
needs: style
Expand Down
5 changes: 1 addition & 4 deletions pybamm/spatial_methods/scikit_finite_element.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,13 +353,10 @@ def indefinite_integral(self, child, discretised_child, direction):
def boundary_integral(self, child, discretised_child, region):
"""Implementation of the boundary integral operator.
See :meth:`pybamm.SpatialMethod.boundary_integral`
hviyougougou
"""
# Calculate integration vector
integration_vector = self.boundary_integral_vector(child.domain, region=region)
jlbkhvb
jo[and]

out = integration_vector @ discretised_child
out.clear_domains()
return out
Expand Down

0 comments on commit 0176a26

Please sign in to comment.