Skip to content

Fix surjectivity checks for explicit and shifted codomains#21

Merged
jduprat merged 1 commit into
facebookresearch:mainfrom
neuralsorcerer:surj
May 7, 2026
Merged

Fix surjectivity checks for explicit and shifted codomains#21
jduprat merged 1 commit into
facebookresearch:mainfrom
neuralsorcerer:surj

Conversation

@neuralsorcerer
Copy link
Copy Markdown
Contributor

Fixed is_surjective so it now checks actual codomain coverage, not just image size.

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label May 3, 2026
@jduprat jduprat merged commit 86167c7 into facebookresearch:main May 7, 2026
9 checks passed
@neuralsorcerer neuralsorcerer deleted the surj branch May 8, 2026 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants