You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that simplify_fractions could only deal with small decimals and write them as function, i.e. turn 0.5 to 1/2. The "simplify_fraction" may be a little misleading. @alexhagen can you confirm ?
I'll look further into this on the weekend, but simplify_fractions uses looks_like_int on both the denominator and numerator to check if it can be simplified - and doesn't simplify if both the numerator and denominator don't "look like integers". So at first blush, that looks like expected behavior - I'll verify that. This could be a feature request, however.
print(py2tex('theta = w_k * a ** 4 / t ** 4 / E',simplify_fractions=True)) prints out:
instead of:
The text was updated successfully, but these errors were encountered: