-
Notifications
You must be signed in to change notification settings - Fork 37
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
Symbolics.jl
support
#144
base: master
Are you sure you want to change the base?
Symbolics.jl
support
#144
Conversation
e0b0814
to
17193da
Compare
Codecov Report
@@ Coverage Diff @@
## master #144 +/- ##
==========================================
+ Coverage 96.60% 97.13% +0.53%
==========================================
Files 9 9
Lines 619 629 +10
==========================================
+ Hits 598 611 +13
+ Misses 21 18 -3
📣 Codecov offers a browser extension for seamless coverage viewing on GitHub. Try it in Chrome or Firefox today! |
537b0a7
to
1e21b5c
Compare
Not really sure about those Ok, i think the change is roughly there. |
for symbolics in 1.0, i would ditch that. that is, add something like:
But, probably that version doesn't even work like the current Symbolics. the current stable series (
and add another conditional loading in the symbolic test. |
on the
|
As you can see in e.g. |
You can add another helper function:
|
Thank you for taking a look, but unless i'm missing something obvious, |
Thank you! That does seem reasonable, though i wonder if |
I've , it is not immediately apparent to me if there's a way to workaround the CI issue of julia-1.0. Is bumping Line 18 in 0b54af0
1.2 (realistically, 1.5 or 1.6 ) an option?
|
Symbolics.jl
support (#142)Symbolics.jl
support
I haven't had much time to look into it yet, but I have a few quick comments:
|
Thank you for taking a look!
That is exactly what this does, as far as i'm aware, no? Depending on I don't really see how we can do better than that?
(i'm guessing you meant
Ok, great! |
As per JuliaPhysics#144 (comment), to allow for `Symbolics` extension/integration.
Huh, that's weird, on julia-1.6, Aqua's complaint is non-sensical, because that is exactly how |
Hopefully done. |
Note that i'm still wondering about the recommended test coverage. |
As per JuliaPhysics#144 (comment), to allow for `Symbolics` extension/integration.
@giordano hi! has there been any progress with making a new release? :) |
Not really, I'm swamped with preparing my JuliaCon talks (still haven't finished some of them.....) |
As per JuliaPhysics#144 (comment), to allow for `Symbolics` extension/integration.
4ff0f28
to
560c33b
Compare
Yay, happy to finally see the release! Rebased. |
I still need to carefully review this PR, but I'm getting inclined towards accepting the idea. |
Yay :) I'm hopeful the commits are sufficiently atomic to aid in easy review, |
As per JuliaPhysics#144 (comment), to allow for `Symbolics` extension/integration.
…tFloat` This is a fairly mechanical change that only changes `AbstractFloat` where it is used as `T` of `Measurement{T}`.
As per JuliaPhysics#144 (comment), to allow for `Symbolics` extension/integration.
https://github.com/JuliaPhysics/Measurements.jl/actions/runs/5106883083/jobs/9179330278#step:6:331 but that is exactly how `Project.toml` already is...
@giordano question: Apparently, this is insufficient.
( But, the current change as-is is an improvement already. Question: should this patch wait for however months more for the review, |
@giordano hi! any thoughts on this / the question in previous comment? |
Hey @LebedevRI, I'm genuinely struggling deciding what to do with this PR overall, which is affecting my ability to review the finer details. I've always been a bit hesitant because there's no way back (short of making a breaking release to recover the desired behaviour) so this has to be designed carefully, I always thought the typing of |
@giordano thank you for taking a look!
That's the thing though, there is absolutely nothing in this library As an example, distances are intrinsically numerical, aren't they? The only times where the numbers are needed in It would be quite unfortunate to not have this functionality, |
@giordano to perhaps move this forward, could you at least say what, exactly, you suspect |
My main concern is that this would open the door to unpredictable behaviour. As it is now, all input to |
This sounds an awful lot like: "[If a tree falls in a forest and no one is around to hear it, does it make a sound?] Well, if we make sure that a tree can not fall because there is no forest, then it certainly does not make a sound." :)
All of that can totally still happen regardless of whether the There is no way in Julia to enforce that some class
|
@giordano hi. Have your position changed / do you expect it to change? |
@giordano i don't suppose it will change anything if i promise to help deal with whatever issues that will come up with non- |
Ok, yes, that'd alleviate alleviate part of my concerns. Let me get back to you next week with other more specific comments. |
Incomplete, proof of concept, missing tests, etc.
Refs. #142