-
Notifications
You must be signed in to change notification settings - Fork 0
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
cleanup and deduce of code and types #29
Conversation
Codecov Report
@@ Coverage Diff @@
## main #29 +/- ##
==========================================
+ Coverage 87.59% 88.87% +1.28%
==========================================
Files 29 24 -5
Lines 3079 1978 -1101
==========================================
- Hits 2697 1758 -939
+ Misses 382 220 -162
Continue to review full report at Codecov.
|
…oring continuous scales into a single, generic struct by that original name
…n InputType, since we notably use Double internally for a continuous scale
…eaks, time to sort out flaws
I think I can collapse a lot of the repeated code in here ... merging:
into a single type so that I don't need to require around with type erasure, as well as reducing the amount of replicated code that I created while I worked out what this needs to do and how it can be structured.
Now that I've had more time with it, I think ConvertibleToDouble can "go away" and be replaced with a smart initializer and generic code over either
BinaryFloatingPoint
&&Real
or some nearby variation of that theme, and another for the case where I want to handle one of the Integer variants usingBinaryInteger