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

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

[Octave-bug-tracker] [bug #45423] symbolic package fails to construct ma


From: anonymous
Subject: [Octave-bug-tracker] [bug #45423] symbolic package fails to construct matrices
Date: Sat, 27 Jun 2015 10:52:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.0.1

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

                 Summary: symbolic package fails to construct matrices
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Sat 27 Jun 2015 10:52:04 AM UTC
                Category: Octave Forge Package
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: Rock Storm
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: GNU/Linux

    _______________________________________________________

Details:

I am using octave forge package "symbolic", and it basically fails when
constructing multiple-rows matrices that combine real numbers and symbolic
variables.


Package Name  | Version | Installation directory
--------------+---------+-----------------------
    symbolic *|   2.2.1 | /home/rock/octave/symbolic-2.2.1


Simple example of the error:

syms a
A = [1, 2; a, 4]


This code produces the following error:

error: octave_base_value::map_value(): wrong type argument 'scalar'
error: octave_base_value::parent_class_name_list(): wrong type argument
'scalar'


Without any knowledge of the internals of this package this error seems
somehow related to this other filed bug #42152

The workaround suggested at https://github.com/cbm755/octsympy/issues/8 also
produces an error:

octave:4> B = [[1 2];[a 4]]
error: class cannot be indexed with {
error: evaluating argument list element number 2
error: called from:
error:   /home/rock/octave/symbolic-2.2.1/@sym/horzcat.m at line 51, column
11






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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