Skip to content

Normalize custom maps in SL parametrizations#53

Merged
lezcano merged 1 commit into
masterfrom
review/sl-custom-maps
Jun 7, 2026
Merged

Normalize custom maps in SL parametrizations#53
lezcano merged 1 commit into
masterfrom
review/sl-custom-maps

Conversation

@lezcano

@lezcano lezcano commented Jun 7, 2026

Copy link
Copy Markdown
Owner

Summary

  • normalize every accepted SL singular-value map in the log domain
  • preserve inverse support for custom (forward, inverse) map pairs
  • add coverage for custom maps and determinant-one round trips

Why

Previously, only the built-in "softplus" map was normalized. Custom positive maps could therefore produce matrices outside SL(n) despite being accepted by the public API.

Validation

  • pytest -s --tb=short -n8 test/test_sl.py
  • included in the full remote suite: 60 passed, 1 skipped

@lezcano lezcano marked this pull request as ready for review June 7, 2026 16:49
@lezcano lezcano force-pushed the review/sl-custom-maps branch from 4a28f47 to ba85c9c Compare June 7, 2026 17:05
@lezcano lezcano merged commit 43fc0d6 into master Jun 7, 2026
9 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