Skip to content

Commit 3f298fe

Browse files
committed
Update Ci images + fix ufl API
1 parent 08d1f58 commit 3f298fe

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/pythonapp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
runs-on: ${{ matrix.os }}
4747
strategy:
4848
matrix:
49-
os: [ubuntu-22.04]
49+
os: [ubuntu-latest]
5050
python-version: ["3.10", "3.11", "3.12", "3.13"]
5151
steps:
5252
- uses: actions/checkout@v5

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
jobs:
1010
build:
1111
name: Build
12-
runs-on: ubuntu-22.04
12+
runs-on: ubuntu-latest
1313
if: (github.event.pull_request.head.repo.full_name == github.repository) || github.ref_name == 'main'
1414
env:
1515
SONAR_SCANNER_VERSION:

python/basix/ufl.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,11 +1398,11 @@ def __init__(self, cell: _basix.CellType, value_shape: tuple[int, ...]):
13981398

13991399
self._entity_counts = []
14001400
if tdim >= 1:
1401-
self._entity_counts.append(self.cell.num_vertices())
1401+
self._entity_counts.append(self.cell.num_vertices)
14021402
if tdim >= 2:
1403-
self._entity_counts.append(self.cell.num_edges())
1403+
self._entity_counts.append(self.cell.num_edges)
14041404
if tdim >= 3:
1405-
self._entity_counts.append(self.cell.num_facets())
1405+
self._entity_counts.append(self.cell.num_facets)
14061406
self._entity_counts.append(1)
14071407

14081408
def __eq__(self, other) -> bool:

0 commit comments

Comments
 (0)