Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix regression caused by unique #47

Closed
wants to merge 1 commit into from
Closed

Conversation

mikelgg93
Copy link
Collaborator

Fix regression caused by unique.

  • Now the calcKernelDensity function returns the mean value for "value" if min and max from data are equal. Which was likely the cause in the errors for interp1.

  • To test this case, fake data for MPG is added in the testviolinplot.m file.

    modified: test_cases/testviolinplot.m

    modified: Violin.m
    modified: test_cases/testviolinplot.m

@mikelgg93 mikelgg93 closed this Jun 8, 2022
@mikelgg93 mikelgg93 mentioned this pull request Jun 16, 2022
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