Comments (1)
This is coming from integrate calling solve which in turn calls checksol. Then we have:
362 if numerical and val.is_number:
--> 363 return (abs(val.n(18).n(12, chop=True)) < 1e-9) is S.true
364
365 if flags.get('warn', False):
366 warnings.warn("\n\tWarning: could not verify solution %s." % sol)
367 # returns None if it can't conclude
368 # TODO: improve solution testing
369
ipdb> p val
nan
ipdb> p val.is_number
True
I wonder if nan.is_number
should actually be False. The internal call to solve is:
In [7]: solve([b**x*log(a) - b**x*log(b)], exclude=(x,))
---------------------------------------------------------------------------
TypeError
from sympy.
Related Issues (20)
- factor produces wrong output HOT 16
- TypeError: '>' not supported between instances of 'Poly' and 'int' calling integrate in sympy 1.12 HOT 1
- lots of PolynomialError contains an element of the set of generators exceptions calling integrate in sympy 1.12 HOT 1
- IndexError: Index out of range: calling integrate in sympy 1.12 HOT 1
- AttributeError: 'NoneType' object has no attribute 'primitive' calling integrate in sympy 1.12 HOT 4
- RecursionError: maximum recursion depth exceeded in comparison calling integrate in sympy 1.12
- TypeError: Invalid comparison of non-real zoo calling integrate in sympy 1.12
- TypeError: Invalid comparison of non-real -I calling integrate in sympy 1.12
- CoercionFailed: Cannot convert type <class 'sympy.core.add.Add'> to QQ_I calling integrate in sympy 1.12
- TypeError: cannot determine truth value of Relational calling integrate in sympy 1.12
- Sympy Live not working HOT 3
- Integral representation of Riemann Zeta Function
- Wrong limit result for Abs((-n/(n+1))**n) HOT 1
- inverse_laplace_transform produces incorrect result (compared to WolframAlpha) HOT 4
- TypeError on `function_range` of Abs(((log(x))**Rational(1, 3))) HOT 5
- S(0)==False->True (should be False) HOT 5
- Wrong result for digamma integral representation HOT 16
- hyperexpand bad output called on I*meijerg(((1, x + 2), ()), ((x + S(1)/2,), (0,)), z*exp_polar(I*pi))*exp(-I*pi*x)/(2*sqrt(pi)) HOT 7
- 1x1 MatrixSymbol should be treated as a scalar HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sympy.