octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #46841] Symbolic package subs fails for long e


From: Jari-Pekka Ikonen
Subject: [Octave-bug-tracker] [bug #46841] Symbolic package subs fails for long expressions
Date: Thu, 07 Jan 2016 12:00:47 +0000
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36 OPR/34.0.2036.25

URL:
  <http://savannah.gnu.org/bugs/?46841>

                 Summary: Symbolic package subs fails for long expressions
                 Project: GNU Octave
            Submitted by: jpikonen
            Submitted on: Thu 07 Jan 2016 12:00:46 PM GMT
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Crash
                  Status: None
             Assigned to: None
         Originator Name: Jari-Pekka Ikonen
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Test to substitute x=0 to an expression:

/
>> syms x
>> k=int(sin(x)^200,x)

  (lines of k)

>> subs(k,x,0)
The command line is too long.
status =  127
out =
error: system() call failed!
error: called from
    python_ipc_sysoneline at line 92 column 5
    python_ipc_driver at line 34 column 15
    python_cmd at line 138 column 9
    subs at line 117 column 7
>>
/

However, testing this in Python/SymPy returns 0 as expected.

In this expression 'x' is one character and expression k is handled and shown
properly. As also '0' is one character one would expect same length expression
after subs, possibly simplified.

Versions:
Python 3.5.1, Sympy 0.7.6.1, Windows 10. Symbolic 2.2.4






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46841>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]