Skip to content

Development#4

Merged
cdaunt merged 6 commits intomainfrom
development
Mar 1, 2026
Merged

Development#4
cdaunt merged 6 commits intomainfrom
development

Conversation

@cdaunt
Copy link
Owner

@cdaunt cdaunt commented Mar 1, 2026

  • Some performance improvements with respect to the assembly
  • Refactored the from_circuit methods to reduce duplication of code
  • Removed random constants that were present
  • Modified sax dependency

Extract _build_index_arrays and _klu_deduplicate as module-level helpers,
eliminating ~25 lines of copy-pasted index-building and KLU coalescence
logic from DenseSolver, KLUSolver, KLUSplitSolver, KlursSplitSolver, and
SparseSolver.

Rename from_circuit -> from_component_groups across all solver classes and
call sites to reflect the actual input type and leave room for future
parsers from other formats.

Also fix wrong return type hints on KLUSplitSolver and KlursSplitSolver,
and add the missing * keyword-only separator in KlursSplitSolver.
@cdaunt cdaunt merged commit b4f841e into main Mar 1, 2026
6 checks passed
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