Skip to content

Support StaticArrays inputs in the heuristic covers - #116

Merged
timholy merged 1 commit into
mainfrom
teh/symcover-static
Nov 18, 2026
Merged

timholy merged 1 commit into
mainfrom
teh/symcover-static

Conversation

@timholy

@timholy timholy commented Nov 18, 2026

Copy link
Copy Markdown
Member

With static axes (SOneTo), zeros(T, ax) and fill(x, ax) return immutable SVectors, so symcover, initialize_symcover, cover on non-square or :geomean/:unconstrained starts, and the AbsLinear paths failed with a setindex! error on SMatrix input. Scratch buffers indexed by the input's axes are now allocated with similar(Array{T}, ax) via a _fill helper.

Bump version to 2.0.2.

Assisted-by: Claude Opus 5.5 noreply@anthropic.com

With static axes (`SOneTo`), `zeros(T, ax)` and `fill(x, ax)` return
immutable `SVector`s, so `symcover`, `initialize_symcover`, `cover` on
non-square or `:geomean`/`:unconstrained` starts, and the `AbsLinear`
paths failed with a `setindex!` error on `SMatrix` input. Scratch
buffers indexed by the input's axes are now allocated with
`similar(Array{T}, ax)` via a `_fill` helper.

Bump version to 2.0.2.

Assisted-by: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.34%. Comparing base (e25df48) to head (a0f4b0c).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #116   +/-   ##
=======================================
  Coverage   98.34%   98.34%           
=======================================
  Files          26       26           
  Lines        8289     8290    +1     
=======================================
+ Hits         8152     8153    +1     
  Misses        137      137           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@timholy
timholy merged commit 19030b0 into main Nov 18, 2026
7 checks passed
@timholy
timholy deleted the teh/symcover-static branch November 18, 2026 21:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant