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

Empirical Distribution probs Vector Bug #836

Merged
merged 4 commits into from
Jul 27, 2021
Merged

Empirical Distribution probs Vector Bug #836

merged 4 commits into from
Jul 27, 2021

Conversation

lrennels
Copy link
Collaborator

@lrennels lrennels commented Jul 8, 2021

This PR fixes bugs in the DataFrames syntax that prevented an EmpiricalDistribution type in a @defsim from working with explicitly provided probabilities. We also add a test.

@lrennels
Copy link
Collaborator Author

lrennels commented Jul 8, 2021

we should also add a test!

@codecov
Copy link

codecov bot commented Jul 8, 2021

Codecov Report

Merging #836 (be05340) into master (e817f26) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #836   +/-   ##
=======================================
  Coverage   84.25%   84.25%           
=======================================
  Files          40       40           
  Lines        3780     3780           
=======================================
  Hits         3185     3185           
  Misses        595      595           
Flag Coverage Δ
unittests 84.25% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/mcs/EmpiricalDistribution.jl 44.44% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e817f26...be05340. Read the comment docs.

@lrennels lrennels changed the title Fix deprecated bugs in Empirical Distribution Small Bugfixes Jul 8, 2021
@lrennels lrennels changed the title Small Bugfixes Empirical Distribution probs Vector Bug Jul 20, 2021
@lrennels lrennels merged commit 050eadf into master Jul 27, 2021
@lrennels lrennels deleted the empirical-distrib branch July 27, 2021 23:48
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.

2 participants