can someone help me with this? I have tried every suggestions from  sympy 
community but still the error persist in the doc string.
I have updated sympy : 
!pip install sympy --upgrade to sympy 1.7.1
I am using latest python 3.9.1.

I have gone through the documentation and found this : 
*sympy.assumptions.refine.refine(expr, assumptions=True)*
*Simplify an expression using assumptions.*
*Gives the form of expr that would be obtained if symbols in it were 
replaced by explicit numerical expressions satisfying the assumptions.*

Since it , return an *expression *based on the assumptions provided 
it means :
*refine(Q.real(x) , Q.positive(x))*
must be an expression not a *True boolean* value

If I understand it falsely then please help me , your help and suggestions 
will be highly appreciated. 
[image: refineError.PNG]

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/c5ebc89a-8e56-4ff6-b38e-78fcdce1edf0n%40googlegroups.com.

Reply via email to