Garvin Li | 29 Sep 10:18 2014

Find a issue about the doc

    When I clone the project,and try to"make html".There is something wrong happened.I have put an issue about it https://github.com/sympy/sympy/issues/8139
    The reason is that in the generate_logs.py," Requirements:  rsvg-convert    - for converting to *.png format (librsvg2-bin deb package)"

    I think many computer may not have the "rsvg-convert"
    why not add a judgement about it ,just like "if rsvg-convert 

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/81facaaa-cdd9-478d-9a35-07980d935843%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Garvin Li | 29 Sep 04:31 2014

Say hi to everyone

Hi everyone:
   
           I am new here, I am interested in this project.
           I want to make contribute to this project.If there anyone kind enough to tell me how to get start?or just begin with fixing bugs.

Thanks,
Garvin

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/ebbc0ea0-91b6-4c43-b088-8b8e1a6fab79%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dario Beraldi | 28 Sep 20:46 2014
Picon

TypeError: can't convert expression to float

Hello,

First: Thanks for developing sympy!

I'm getting the error below, using sympy 0.7.5 on python 2.7.8, MacOS 10.6. Could anyone explain what I'm doing wrong?

Many thanks!
Dario



import sympy as s

x
= s.Symbol('x')
y
= 2*s.sin(x) - 2*s.sin(2*x)
s
.solve(y)

Traceback (most recent call last):
 
File "<stdin>", line 1, in <module>
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/solvers/solvers.py", line 901, in solve
    solution
= _solve(f[0], *symbols, **flags)
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/solvers/solvers.py", line 1289, in _solve
   
return _solve(newf, symbol, **flags)
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/solvers/solvers.py", line 1289, in _solve
   
return _solve(newf, symbol, **flags)
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/solvers/solvers.py", line 1397, in _solve
    result
= _tsolve(f_num, symbol, **flags)
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/solvers/solvers.py", line 2279, in _tsolve
   
return _solve(f, sym, **flags)
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/solvers/solvers.py", line 1147, in _solve
    soln
= _solve(m, symbol, **flags)
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/solvers/solvers.py", line 1397, in _solve
    result
= _tsolve(f_num, symbol, **flags)
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/solvers/solvers.py", line 2320, in _tsolve
   
return _solve(rewrite - rhs, sym, **flags)
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/solvers/solvers.py", line 1418, in _solve
   
for den in dens)]
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/solvers/solvers.py", line 1418, in <genexpr>
   
for den in dens)]
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/solvers/solvers.py", line 285, in checksol
   
return abs(val.n(18).n(12, chop=True)) < 1e-9
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/core/evalf.py", line 1284, in evalf
    result
= evalf(self, prec + 4, options)
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/core/evalf.py", line 1184, in evalf
    r
= rf(x, prec, options)
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/core/evalf.py", line 457, in evalf_add
    terms
= [evalf(arg, prec + 10, options) for arg in v.args]
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/core/evalf.py", line 1184, in evalf
    r
= rf(x, prec, options)
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/core/evalf.py", line 615, in evalf_pow
    re
, im, re_acc, im_acc = evalf(base, prec + 5, options)
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/core/evalf.py", line 1190, in evalf
    re
, im = x._eval_evalf(prec).as_real_imag()
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/polys/rootoftools.py", line 425, in _eval_evalf
    root
= findroot(func, x0)
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/mpmath/calculus/optimization.py", line 931, in findroot
    fx
= f(x0[0])
 
File "<string>", line 1, in <lambda>
 
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/sympy/core/expr.py", line 207, in __float__
   
raise TypeError("can't convert expression to float")
TypeError: can't convert expression to float



--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/703e3b84-3103-4d7a-9028-ab7576ccde59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Chris Smith | 28 Sep 03:15 2014
Picon

elliptic_e._eval_conjugate for one arg?

elliptic_e can take 1 or two args but the _eval_conjugate assumes 2 (and fails in a branch I am working on). The following mod works without returning anything for the 1 arg case, but can someone tell me if I should be uncommenting the 2 lines that I added for the 1 arg case?

    def _eval_conjugate(self):
        if len(self.args) == 2:
            z, m = self.args
            if (m.is_real and (m - 1).is_positive) is False:
                return self.func(z.conjugate(), m.conjugate())
        #else:
        #    return self.func(self.args[0].conjugate())

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/b70fd201-9bf9-43a6-8be5-966cbe9882ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Peter Brady | 28 Sep 00:19 2014
Picon

py.test failures in test_pytest.py

The failures in sympy/utilities/tests/test_pytest.py are due to a fundamental difference between bin/test and py.test (perhaps this was not a difference when the tests were written)

The failing tests:

=================================== FAILURES ===================================
___________ test_lack_of_exception_triggers_AssertionError_callable ____________

    def test_lack_of_exception_triggers_AssertionError_callable():
        try:
>           raises(Exception, lambda: 1 + 1)
E           Failed: DID NOT RAISE

sympy/utilities/tests/test_pytest.py:14: Failed
_____________ test_lack_of_exception_triggers_AssertionError_with ______________

    def test_lack_of_exception_triggers_AssertionError_with():
        try:
            with raises(Exception):
>               1 + 1
E               Failed: DID NOT RAISE

sympy/utilities/tests/test_pytest.py:39: Failed

The cause of these is that the tests are written with the assumption
 that when raises fails, it raises and AssertionError.  However py.test raises and actual Failed exception.  Here's an example

In [4]: from py.test import fail 

In [5]: raise fail()
---------------------------------------------------------------------------
Failed                                    Traceback (most recent call last)
<ipython-input-5-64d514b43c4e> in <module>()
----> 1 raise fail()

/home/peter/miniconda3/lib/python3.4/site-packages/_pytest/runner.py in fail(msg, pytrace)
    466     """
    467     __tracebackhide__ = True
--> 468     raise Failed(msg=msg, pytrace=pytrace)
    469 fail.Exception = Failed
    470 

Failed: <Failed instance>

What would be the best way to handle this?  Should we add a 'Failed` to the catch block?  It seems like a bad idea to me to catch a Fail in a test and then do something with it but maybe that's the same as catching the AssertionError?

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/b0f9af51-f164-4be2-b56c-065da0e9e6b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
vaibhav kumar | 27 Sep 11:55 2014
Picon

Runtime Error in maximum(n, 0) function of number theory

Whenever I am using the maximum function with the second input as 0, there is a runtime error with recursion depth exceeded.
Shouldn't the answer be infinity in this case ?

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/bf29adf8-57a8-437f-8fa0-8a93b409ca59%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
vaibhav kumar | 27 Sep 11:58 2014
Picon

runtime error in multiplicity(n, 0) function of number theory

Whenever multiplicity(n, 0) is implemented there is a runtime error with recursion depth exceeded.
Shouldn't the answer be infinity in this case ?

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/15c0e02a-4499-457e-8fba-d499ef06ec6c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Peter Brady | 26 Sep 21:14 2014
Picon

Strange behavior with py.test

I've been trying to get better compatibility with py.test recently and have come across a very strange error:

$ py.test sympy/physics/vector/tests -k test_coordinate_vars -v
============================= test session starts ==============================
platform linux -- Python 3.4.1 -- py-1.4.20 -- pytest-2.5.2 -- /home/ptb/miniconda3/bin/python3
architecture: 64-bit
cache:        yes
ground types: python 

collected 39 items 

sympy/physics/vector/tests/test_frame.py:10: test_coordinate_vars FAILED

=================================== FAILURES ===================================
_____________________________ test_coordinate_vars _____________________________

    def test_coordinate_vars():
        """Tests the coordinate variables functionality"""
>       assert CoordinateSym('Ax', A, 0) == A[0]
E       assert Ax == A_x
E        +  where Ax = CoordinateSym('Ax', A, 0)

sympy/physics/vector/tests/test_frame.py:12: AssertionError
                                DO *NOT* COMMIT!                                
=============== 38 tests deselected by '-ktest_coordinate_vars' ================
=================== 1 failed, 38 deselected in 0.22 seconds ====================

$ py.test sympy/physics/vector/tests/test_frame.py -k test_coordinate_vars -v
============================= test session starts ==============================
platform linux -- Python 3.4.1 -- py-1.4.20 -- pytest-2.5.2 -- /home/ptb/miniconda3/bin/python3
architecture: 64-bit
cache:        yes
ground types: python 

collected 4 items 

sympy/physics/vector/tests/test_frame.py:10: test_coordinate_vars PASSED

================ 3 tests deselected by '-ktest_coordinate_vars' ================
==================== 1 passed, 3 deselected in 2.11 seconds ====================

The same test passes or fails depending on if the test file is specified exactly or if the test is found via py.test collection... Any py.test gurus know why?

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/c5027329-bc1b-428b-82d3-ff4e66ef3237%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Peter Brady | 26 Sep 17:13 2014
Picon

The slowest of the slow

Thanks to some recent PR's I was able to run the slow tests under py.test which supports a --durations flags.  Here are the slowest of the slow tests:

========================== slowest 15 test durations ===========================
6745.05s call     sympy/physics/mechanics/tests/test_kane3.py::test_bicycle
2083.29s call     sympy/solvers/tests/test_ode.py::test_1st_exact2
1522.66s call     sympy/integrals/tests/test_failing_integrals.py::test_issue_4540
1221.33s call     sympy/core/tests/test_wester.py::test_W25
1090.84s call     sympy/integrals/tests/test_failing_integrals.py::test_issue_4941
963.31s call     sympy/solvers/tests/test_solvers.py::test_issue_6528
437.72s call     sympy/integrals/tests/test_heurisch.py::test_pmint_WrightOmega
411.27s call     sympy/core/tests/test_wester.py::test_W24
138.77s call     sympy/polys/tests/test_groebnertools.py::test_benchmark_czichowski_buchberger
111.14s call     sympy/integrals/tests/test_failing_integrals.py::test_issue_4891
108.96s call     sympy/functions/elementary/tests/test_trigonometric.py::test_tancot_rewrite_sqrt
90.53s call     sympy/stats/tests/test_finite_rv.py::test_binomial_symbolic
67.98s call     sympy/core/tests/test_wester.py::test_W6
62.59s call     sympy/simplify/tests/test_hyperexpand.py::test_prudnikov_3
48.68s call     sympy/simplify/tests/test_hyperexpand.py::test_prudnikov_8


Currently the timeout limit is set to 180s on the slow  tests and due to issues with travis, the signal does not appear to always be respected leading to travis timeout errors.  I think there are two good solutions to this problem:

1. Mark all the tests which report runtimes over 180s as skip

2. Introduce a new mark 'veryslow` or something like that so that these tests can still be run if someone chooses by setting the appropriate flag.

Any thoughts? Votes?

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/5c63120f-4b3f-467c-a4e6-3d043c76ea3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
David Shin | 25 Sep 21:42 2014
Picon

variable limit in ufuncify?

Hi, I recently began trying out sympy and am running into some difficulty.

I wrote the following script, called demo.py:

import sympy from sympy.utilities.autowrap import ufuncify import sys N = int(sys.argv[1]) theta = [] values = [] for n in range(N): theta.append(sympy.symbols('x%s' % n)) values.append(n) summation = sum(theta) f = ufuncify(theta, summation) print f(*values)[0]
Running it for small N, it works fine:

$ python demo.py 21 210.0
But it fails for larger N. Can anyone advise? Thanks in advance.

$ python demo.py 22 Traceback (most recent call last): File "demo.py", line 13, in f = ufuncify(theta, summation) File "/opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/sympy/utilities/autowrap.py", line 485, in ufuncify return autowrap(C.Equality(y[i], f(*args)), **kwargs) File "/opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/sympy/utilities/autowrap.py", line 403, in autowrap return code_wrapper.wrap_code(routine, helpers=helps) File "/opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/sympy/utilities/autowrap.py", line 139, in wrap_code self._process_files(routine) File "/opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/sympy/utilities/autowrap.py", line 158, in _process_files " ".join(command), e.output)) sympy.utilities.autowrap.CodeWrapError: Error while executing command: f2py -m wrapper_module_0 -c wrapped_code_0.f90. Command output is: running build running config_cc unifing config_cc, config, build_clib, build_ext, build commands --compiler options running config_fc unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options running build_src build_src building extension "wrapper_module_0" sources f2py options: [] f2py:> /tmp/tmpKbJQuO/src.linux-x86_64-2.7/wrapper_module_0module.c creating /tmp/tmpKbJQuO creating /tmp/tmpKbJQuO/src.linux-x86_64-2.7 Reading fortran codes... Reading file 'wrapped_code_0.f90' (format:free) Post-processing... Block: wrapper_module_0 Block: autofunc Post-processing (stage 2)... Building modules... Building module "wrapper_module_0"... Constructing wrapper function "autofunc"... y_15 = autofunc(x_16,x1,x10,x11,x12,x13,x14,x15,x16,x17,x18,x19,x2,x20,x21,x3,x4,x5,x6,x7,x8,x9,[m_17]) Wrote C/API module "wrapper_module_0" to file "/tmp/tmpKbJQuO/src.linux-x86_64-2.7/wrapper_module_0module.c" adding '/tmp/tmpKbJQuO/src.linux-x86_64-2.7/fortranobject.c' to sources. adding '/tmp/tmpKbJQuO/src.linux-x86_64-2.7' to include_dirs. copying /opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/numpy/f2py/src/fortranobject.c -> /tmp/tmpKbJQuO/src.linux-x86_64-2.7 copying /opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/numpy/f2py/src/fortranobject.h -> /tmp/tmpKbJQuO/src.linux-x86_64-2.7 build_src: building npy-pkg config files running build_ext customize UnixCCompiler customize UnixCCompiler using build_ext customize Gnu95FCompiler Found executable /opt/user/x86_64/gcc-4.7.2/bin/gfortran customize Gnu95FCompiler customize Gnu95FCompiler using build_ext building 'wrapper_module_0' extension compiling C sources C compiler: gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC creating /tmp/tmpKbJQuO/tmp creating /tmp/tmpKbJQuO/tmp/tmpKbJQuO creating /tmp/tmpKbJQuO/tmp/tmpKbJQuO/src.linux-x86_64-2.7 compile options: '-I/tmp/tmpKbJQuO/src.linux-x86_64-2.7 -I/opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/numpy/core/include -I/opt/user/x86_64/Python-2.7.3/include/python2.7 -c' gcc: /tmp/tmpKbJQuO/src.linux-x86_64-2.7/wrapper_module_0module.c In file included from /opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0, from /opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:15, from /tmp/tmpKbJQuO/src.linux-x86_64-2.7/fortranobject.h:13, from /tmp/tmpKbJQuO/src.linux-x86_64-2.7/wrapper_module_0module.c:18: /opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] /tmp/tmpKbJQuO/src.linux-x86_64-2.7/wrapper_module_0module.c:111:12: warning: âpy_sizeâefined but not used [-Wunused-function] gcc: /tmp/tmpKbJQuO/src.linux-x86_64-2.7/fortranobject.c In file included from /opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/numpy/core/include/numpy/ndarraytypes.h:1728:0, from /opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/numpy/core/include/numpy/ndarrayobject.h:17, from /opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/numpy/core/include/numpy/arrayobject.h:15, from /tmp/tmpKbJQuO/src.linux-x86_64-2.7/fortranobject.h:13, from /tmp/tmpKbJQuO/src.linux-x86_64-2.7/fortranobject.c:2: /opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/numpy/core/include/numpy/npy_deprecated_api.h:11:2: warning: #warning "Using deprecated NumPy API, disable it by #defining NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION" [-Wcpp] compiling Fortran sources Fortran f77 compiler: /opt/user/x86_64/gcc-4.7.2/bin/gfortran -Wall -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops Fortran f90 compiler: /opt/user/x86_64/gcc-4.7.2/bin/gfortran -Wall -fno-second-underscore -fPIC -O3 -funroll-loops Fortran fix compiler: /opt/user/x86_64/gcc-4.7.2/bin/gfortran -Wall -ffixed-form -fno-second-underscore -Wall -fno-second-underscore -fPIC -O3 -funroll-loops compile options: '-I/tmp/tmpKbJQuO/src.linux-x86_64-2.7 -I/opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/numpy/core/include -I/opt/user/x86_64/Python-2.7.3/include/python2.7 -c' gfortran:f90: wrapped_code_0.f90 wrapped_code_0.f90:1.133: 4, x15, x16, x17, x18, x19, x2, x20, x21, x3, x4, x5, x6, x7, x8, x9, y_15 1 Warning: Line truncated at (1) wrapped_code_0.f90:1.132: 14, x15, x16, x17, x18, x19, x2, x20, x21, x3, x4, x5, x6, x7, x8, x9, y_15 1 Error: Unexpected junk in formal argument list at (1) wrapped_code_0.f90:33.3: end subroutine 1 Error: Expecting END PROGRAM statement at (1) Error: Unexpected end of file in 'wrapped_code_0.f90' wrapped_code_0.f90:1.133: 4, x15, x16, x17, x18, x19, x2, x20, x21, x3, x4, x5, x6, x7, x8, x9, y_15 1 Warning: Line truncated at (1) wrapped_code_0.f90:1.132: 14, x15, x16, x17, x18, x19, x2, x20, x21, x3, x4, x5, x6, x7, x8, x9, y_15 1 Error: Unexpected junk in formal argument list at (1) wrapped_code_0.f90:33.3: end subroutine 1 Error: Expecting END PROGRAM statement at (1) Error: Unexpected end of file in 'wrapped_code_0.f90' error: Command "/opt/user/x86_64/gcc-4.7.2/bin/gfortran -Wall -fno-second-underscore -fPIC -O3 -funroll-loops -I/tmp/tmpKbJQuO/src.linux-x86_64-2.7 -I/opt/user/x86_64/Python-2.7.3/lib/python2.7/site-packages/numpy/core/include -I/opt/user/x86_64/Python-2.7.3/include/python2.7 -c -c wrapped_code_0.f90 -o /tmp/tmpKbJQuO/wrapped_code_0.o" failed with exit status 1

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/68af9759-5988-4e85-81ec-7cc303022e46%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Andrew Yancy | 25 Sep 06:05 2014
Picon

Why does this exremely small simplifcation fail?

C:\Anaconda>python
Python 2.7.7 |Anaconda 2.0.1 (64-bit)| (default, Jun 11 2014, 10:40:02) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
Anaconda is brought to you by Continuum Analytics.
Please check out: http://continuum.io/thanks and https://binstar.org
>>> from sympy import *
>>> x = symbols('x')
>>> simplify((x / 3) - x * 1 / 3)
0
>>> simplify((x / 3) - x * (1 / 3))
x
/3


Question says it all.

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to sympy-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at http://groups.google.com/group/sympy.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/eecc5001-ff6f-4404-885b-de14a4f3de22%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Gmane