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

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

[Octave-bug-tracker] [bug #47676] Error applying multiplication-assignme


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #47676] Error applying multiplication-assignment operator to variable defined in script
Date: Tue, 12 Apr 2016 13:05:53 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Firefox/45.0

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

                 Summary: Error applying multiplication-assignment operator to
variable defined in script
                 Project: GNU Octave
            Submitted by: cdf
            Submitted on: Tue 12 Apr 2016 03:05:52 PM CEST
                Category: Interpreter
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Incorrect Result
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The attached files demonstrate an error in the interpreter
when applying the multiplication-assignment operator to a
variable defined in a script.

To reproduce the issue, try:

>> example_0
error: Csb(61,_): but Csb has size 1x1
error: called from
    example_0 at line 5 column 1


if the same commands contained in the script example_0
are issued directly on the command line, the problem does
not occur:


>> example_1
>> fact = 1.0;
>> Csb *= fact; 
>> Csb
Csb =  11
>> 


The same issue is also present in the satble release but the error message is
less informative.





    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Tue 12 Apr 2016 03:05:52 PM CEST  Name: example_0.m  Size: 38B   By: cdf

<http://savannah.gnu.org/bugs/download.php?file_id=36908>
-------------------------------------------------------
Date: Tue 12 Apr 2016 03:05:52 PM CEST  Name: example_1.m  Size: 13B   By: cdf

<http://savannah.gnu.org/bugs/download.php?file_id=36909>

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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