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

Remove Base.convert(::Type{Decimal}, ::Real) #99

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

barucden
Copy link
Collaborator

The method is unnecessary. We define constructors from Reals, which is enough for the fallback convert method to work.

This commit also removes a useless test file.

Copy link

codecov bot commented Nov 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (1a4e538) to head (c58b489).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #99   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           11        11           
  Lines          327       326    -1     
=========================================
- Hits           327       326    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

The method is unnecessary. We define constructors from `Real`s, which is
enough for the fallback `convert` method to work.

This commit also removes a useless test file.
@barucden barucden merged commit 4638697 into JuliaMath:master Nov 19, 2024
8 checks passed
@barucden barucden deleted the convert branch November 19, 2024 13:23
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