Skip to content

Use StaticInteger instead of StaticInt and add tests for static util functions#116

Merged
theogf merged 3 commits into
masterfrom
static-integer
May 31, 2023
Merged

Use StaticInteger instead of StaticInt and add tests for static util functions#116
theogf merged 3 commits into
masterfrom
static-integer

Conversation

@oschulz

@oschulz oschulz commented May 30, 2023

Copy link
Copy Markdown
Collaborator

Follow-up to #115 .

We should use StaticInteger instead of StaticInt for argument types.

Also adds tests for the new functions in static.jl.

@oschulz oschulz requested a review from cscherrer May 30, 2023 17:24
@github-actions

Copy link
Copy Markdown
Package name latest stable
MeasureTheory.jl

@github-actions

Copy link
Copy Markdown
Package name latest stable
MeasureTheory.jl

@oschulz

oschulz commented May 30, 2023

Copy link
Copy Markdown
Collaborator Author

Tests fixed.

@codecov

codecov Bot commented May 30, 2023

Copy link
Copy Markdown

Codecov Report

Patch coverage: 83.33% and project coverage change: +0.24 🎉

Comparison is base (5bba40f) 53.80% compared to head (4dac4fc) 54.05%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #116      +/-   ##
==========================================
+ Coverage   53.80%   54.05%   +0.24%     
==========================================
  Files          43       43              
  Lines        1221     1221              
==========================================
+ Hits          657      660       +3     
+ Misses        564      561       -3     
Impacted Files Coverage Δ
src/MeasureBase.jl 77.77% <ø> (ø)
src/density-core.jl 76.66% <ø> (ø)
src/utils.jl 47.29% <0.00%> (ø)
src/standard/stdmeasure.jl 91.30% <100.00%> (ø)
src/static.jl 80.00% <100.00%> (+20.00%) ⬆️
src/transport.jl 75.00% <100.00%> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@theogf theogf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, it just needs a version bump

@oschulz

oschulz commented May 31, 2023

Copy link
Copy Markdown
Collaborator Author

Added version bump.

@github-actions

Copy link
Copy Markdown
Package name latest stable
MeasureTheory.jl

@theogf theogf merged commit 7cb87d5 into master May 31, 2023
@theogf theogf deleted the static-integer branch May 31, 2023 10:39
@oschulz

oschulz commented May 31, 2023

Copy link
Copy Markdown
Collaborator Author

Merci @theogf !

@oschulz

oschulz commented May 31, 2023

Copy link
Copy Markdown
Collaborator Author

Next on the agenda will the polishing up the transport framework and turning DistributionMeasures.jl into a MeasureBase.jl Pkg-extension (DistributionMeasures.jl itself will become deprecated).

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.

3 participants