From 49c2d33924202c498fbc87096b9fd7169128a1cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Cserteg?= Date: Fri, 31 Oct 2025 23:23:45 +0100 Subject: [PATCH 1/2] fix adaptivesampling! to only split leaf cells --- src/adaptivesampling.jl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/adaptivesampling.jl b/src/adaptivesampling.jl index 74111bb..3462101 100644 --- a/src/adaptivesampling.jl +++ b/src/adaptivesampling.jl @@ -9,8 +9,12 @@ function adaptivesampling!(root::Cell, refinery::AbstractRefinery) (cell, indices) -> refine_data(refinery, cell, indices) while !isempty(refinement_queue) cell = pop!(refinement_queue) - if needs_refinement(refinery, cell) - split!(cell, refine_function) + if isleaf(cell) + if needs_refinement(refinery, cell) + split!(cell, refine_function) + append!(refinement_queue, children(cell)) + end + else append!(refinement_queue, children(cell)) end end From 6eeb3c56fb7bc666c74bfa3dfb4864cf0d6f7079 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20Cserteg?= Date: Mon, 3 Nov 2025 12:36:08 +0100 Subject: [PATCH 2/2] update github action versions --- .github/workflows/CI.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 6428437..1086387 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -24,12 +24,12 @@ jobs: arch: - x64 steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 + - uses: actions/checkout@v5 + - uses: julia-actions/setup-julia@v2 with: version: ${{ matrix.version }} arch: ${{ matrix.arch }} - - uses: actions/cache@v1 + - uses: actions/cache@v4 env: cache-name: cache-artifacts with: @@ -42,6 +42,6 @@ jobs: - uses: julia-actions/julia-buildpkg@v1 - uses: julia-actions/julia-runtest@v1 - uses: julia-actions/julia-processcoverage@v1 - - uses: codecov/codecov-action@v1 + - uses: codecov/codecov-action@v5 with: file: lcov.info