bugGNU Octave - Bugs: bug #54641, symbolic matrix create fail

 
 

bug #54641: symbolic matrix create fail

Submitter:  termanary <termanary>
Submitted:  Mon 10 Sep 2018 02:31:44 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 4.4.1 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 10 Sep 2018 05:59:41 PM UTC, comment #3: 

This is a duplicate of a known bug, see bug #42152.

Mike Miller <mtmiller>
Group Member
Mon 10 Sep 2018 04:05:32 PM UTC, comment #2: 

here is one way to get it to work:


pkg load symbolic
  syms x y
  z0=sym(0)
  z2=sym(2)
  z3=sym(3)
  z5=sym(5)
  z8=sym(8)
  y= [
  cos(x),-sin(x),z0,z0;
  sin(x),cos(x),0,0;
  z0,z0,z8,z3;
  z0,z0,z5,z2;
  ]


Doug Stewart <dastew>
Mon 10 Sep 2018 02:45:14 PM UTC, comment #1: 

I then tried octave-4.0.3:

syms x
y=[
x 0

  1. 0

]

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

but :

syms x
y=[
x 0
x 0
]

run correctly .

termanary <termanary>
Mon 10 Sep 2018 02:31:44 PM UTC, original submission:  

  the next script could run in matlab R2018a in debian9 ,but octave 4.4.1 couldn't . octave 4.4.1 was compiled in my system .
script:
  pkg load symbolic
  syms x
  y=[
  cos(x),-sin(x),0,0;
  sin(x),cos(x),0,0;
  0,0,8,3;
  0,0,5,2;
  ]
when I run it,octave report :
error : octave_base_value::map_value():wrong type argument 'scalar'

termanary <termanary>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dastew (Posted a comment)
  • -email is unavailable- added by termanary (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-09-19 mtmiller Carbon-CopyRemoved 80942 -
    2018-09-10 mtmiller StatusNone Duplicate
        Open/ClosedOpen Closed
        Dependencies- Depends on bugs #42152
    2018-09-10 rik5 Carbon-CopyRemoved 72865 -
    2018-09-10 rik5 CategoryNone Octave Package

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code