-
Notifications
You must be signed in to change notification settings - Fork 6
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 wrong implementation of distributions #106
Conversation
ext/JuliaBUGSAdvancedHMCExt.jl
Outdated
param_name_leaves = collect(Iterators.flatten( | ||
[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
param_name_leaves = collect(Iterators.flatten( | |
[ | |
param_name_leaves = collect( | |
Iterators.flatten([ |
ext/JuliaBUGSAdvancedHMCExt.jl
Outdated
], | ||
)) | ||
generated_varname_leaves = collect(Iterators.flatten( | ||
[ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
], | |
)) | |
generated_varname_leaves = collect(Iterators.flatten( | |
[ | |
],), | |
) | |
generated_varname_leaves = collect( | |
Iterators.flatten([ |
ext/JuliaBUGSAdvancedHMCExt.jl
Outdated
], | ||
)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
], | |
)) | |
],), | |
) |
ext/JuliaBUGSAdvancedHMCExt.jl
Outdated
flattened_param_vals = [vcat(p...) for p in param_vals] | ||
flattened_generated_quantities = [vcat(gq...) for gq in generated_quantities] | ||
flattened_param_vals = [collect(Iterators.flatten(p)) for p in param_vals] | ||
flattened_generated_quantities = [collect(Iterators.flatten(gq)) for gq in generated_quantities] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
flattened_generated_quantities = [collect(Iterators.flatten(gq)) for gq in generated_quantities] | |
flattened_generated_quantities = [ | |
collect(Iterators.flatten(gq)) for gq in generated_quantities | |
] |
src/BUGSPrimitives/distributions.jl
Outdated
), | ||
) | ||
end | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[JuliaFormatter] reported by reviewdog 🐶
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #106 +/- ##
==========================================
- Coverage 71.79% 71.45% -0.34%
==========================================
Files 16 16
Lines 1659 1671 +12
==========================================
+ Hits 1191 1194 +3
- Misses 468 477 +9
☔ View full report in Codecov by Sentry. |
Pull Request Test Coverage Report for Build 6300765515
💛 - Coveralls |
No description provided.