JuliaSymbolics / Symbolics.jl

Symbolic programming for the next generation of numerical software
https://docs.sciml.ai/Symbolics/stable/
Other
1.36k stars 151 forks source link

Return rationals from linear_expansion and solve_for #1136

Closed hersle closed 1 month ago

hersle commented 4 months ago

This fixes #524.

Does it break anything else? I am not able to run all tests locally, as ] test fails with a bunch of warnings, with or without my changes 😕

hersle commented 4 months ago

Where exactly do you mean? Do you mean that linear_expansion should return fractions for a and b if they are not divisible, and integers if they are divisible? Or the same with the results from solve_for?