Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ job saves the Julia cache only when it succeeds.
In CI the Doctests job stays their runner, so the test matrix no longer runs them a second
time.

`test/basis.jl` moved to `test/integration/basis.jl`. The test convention keeps a test file at
the top level of `test/` only where it mirrors `src/<name>.jl`, and there is no
`src/basis.jl`: the file tests clamped and recombined bases across `src/bspline.jl`,
`src/recombined.jl`, `src/boundary.jl`, `src/mesh.jl`, `src/quadrature.jl`, `src/mass.jl`,
`src/spline.jl` and `src/tensorproduct.jl`.

## [0.3.2] — 2026-10-03

### Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion scripts/local_evaluation_agreement.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# How closely `evaluate(b, û, x, d)` agrees with a sum over the whole basis, and therefore
# what kind of tolerance the test in `test/basis.jl` may use.
# what kind of tolerance the test in `test/integration/basis.jl` may use.
#
# `evaluate(b, û, x, d)` sums the local block of `local_width(b)` functions, obtained from
# de Boor's triangular scheme plus derivative lifting. The reference sums `û[j] * evaluate(b,
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions test/quality/jet.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ using Test
# (`op \ b32` on a `CirculantMass{Float32}`, test/mass.jl) gets none.

if isdefined(JET, :JET_AVAILABLE) ? JET.JET_AVAILABLE : JET.JET_LOADABLE
# test/basis.jl: evaluate_all! on a free and a Dirichlet bounded basis and a periodic basis
# test/integration/basis.jl: evaluate_all! on a free and a Dirichlet bounded basis and a periodic basis
b = BSplineBasis(UniformMesh(32, -10 .. 10), 3)
br = BSplineBasis(UniformMesh(32, -10 .. 10), 3, Dirichlet())
bp = BSplineBasis(UniformMesh(32, 0 .. 2π), 3, Periodic())
Expand All @@ -29,7 +29,7 @@ if isdefined(JET, :JET_AVAILABLE) ? JET.JET_AVAILABLE : JET.JET_LOADABLE
@test isempty(JET.get_reports(JET.report_opt(evaluate,
(typeof(B), Array{Float64, 3}, NTuple{3, Float64});
target_modules = (SimpleSplines,))))
# test/basis.jl: complex coefficients on a 2-D tensor product, with a derivative order
# test/integration/basis.jl: complex coefficients on a 2-D tensor product, with a derivative order
B2 = BSplineBasis(UniformMesh(6, 0 .. 1), 3) ⊗ BSplineBasis(UniformMesh(5, 0 .. 1), 3)
@test isempty(JET.get_reports(JET.report_opt(evaluate,
(typeof(B2), Matrix{ComplexF64}, NTuple{2, Float64}, NTuple{2, Int});
Expand Down
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if "core" in GROUPS
@safetestset "Meshes" include("mesh.jl")
@safetestset "Boundary conditions" include("boundary.jl")
@safetestset "Periodic B-spline bases" include("bspline.jl")
@safetestset "Clamped and recombined bases" include("basis.jl")
@safetestset "Clamped and recombined bases" include("integration/basis.jl")
@safetestset "Mass operators" include("mass.jl")
@safetestset "Spline quadrature" include("quadrature.jl")
@safetestset "Tensor products" include("tensorproduct.jl")
Expand Down
Loading