Skip to content

Commit 20d7601

Browse files
committed
Updates to work on nightly and stable
1 parent 352ac59 commit 20d7601

4 files changed

Lines changed: 8 additions & 5 deletions

File tree

.github/workflows/formatting.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ env:
1313

1414
jobs:
1515
build:
16-
runs-on: ubuntu-24.04
17-
container: ghcr.io/fenics/dolfinx/dolfinx:nightly
16+
runs-on: ubuntu-latest
17+
container: ghcr.io/fenics/dolfinx/dolfinx:stable
1818
steps:
1919
- uses: actions/checkout@v5
2020

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/fenics/dolfinx/lab:nightly
1+
FROM ghcr.io/fenics/dolfinx/lab:stable
22

33

44
# create user with a home directory

docker/Dockerfile.webpage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/fenics/dolfinx/lab:nightly
1+
FROM ghcr.io/fenics/dolfinx/lab:stable
22

33

44
RUN apt-get update && apt-get install -y wget unzip mesa-utils libgl1-mesa-dev

src/ucs/diffusion/diffusion.ipynb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,10 @@
103103
") -> tuple[ufl.Measure, ufl.Measure, ufl.Measure]:\n",
104104
" \"\"\"Define volume and surface measures for a given domain and optional markers.\"\"\"\n",
105105
" # Check for consistency of mesh markers\n",
106-
" tdim = domain.ufl_cell().topological_dimension()\n",
106+
" try:\n",
107+
" tdim = domain.ufl_cell().topological_dimension()\n",
108+
" except TypeError:\n",
109+
" tdim = domain.ufl_cell().topological_dimension\n",
107110
" if cell_marker is not None and cell_marker.dim != tdim:\n",
108111
" raise ValueError(\n",
109112
" f\"Volume marker must be of dimension {tdim}, but got {cell_marker.dim}\"\n",

0 commit comments

Comments
 (0)