mirchaemanuel / symja

Automatically exported from code.google.com/p/symja
1 stars 0 forks source link

Solve Error #37

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Following  Equation could not be solved in online Symja Application 
Solve[a+2x==0,x] 

What is the expected output?
{{x->(-1/2)*a}}

 What do you see instead?
Error:
Error in evaluateString: a

Solution:

Symbol.java  class not override the method negate();

Code:
@Override
    public IExpr negate() {
        return F.function(F.Times, F.CN1, this);
    }

Original issue reported on code.google.com by msafiyul...@gmail.com on 5 Sep 2011 at 6:49

GoogleCodeExporter commented 8 years ago
Fixed in SVN with
http://code.google.com/p/symja/source/detail?r=798

Original comment by axelclk@gmail.com on 5 Sep 2011 at 4:22

GoogleCodeExporter commented 8 years ago
Fixed in Symja online version

Original comment by axelclk@gmail.com on 5 Sep 2011 at 4:42