Skip to content

Throw InvalidOperationException from the EM getters before fit - #50

Merged
dmeoli merged 1 commit into
masterfrom
fix/last-defects
Dec 2, 2026
Merged

dmeoli merged 1 commit into
masterfrom
fix/last-defects

Conversation

@dmeoli

@dmeoli dmeoli commented Dec 2, 2026

Copy link
Copy Markdown
Member

the getters of GaussianMixtureEM and NaiveBayesEM throw InvalidOperationException("call fit first") before fit, instead of NullReferenceException

The getters of GaussianMixtureEM and NaiveBayesEM threw a
NullReferenceException when called before fit.
@dmeoli
dmeoli marked this pull request as ready for review December 2, 2026 14:00
@dmeoli
dmeoli merged commit 00d5f4b into master Dec 2, 2026
1 check passed
@dmeoli
dmeoli deleted the fix/last-defects branch December 2, 2026 14:01
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