bugGNU Octave - Bugs: bug #60071, Strange extra space in the middle...

 
 

bug #60071: Strange extra space in the middle of a name in two sparse iterative solvers

Submitter:  None
Submitted:  Wed 17 Feb 2021 03:12:20 PM UTC
   
 
Category:  Octave Function Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Mario Alberto Storti Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 6.1.0
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 17 Feb 2021 09:19:03 PM UTC, comment #1: 

Good catch.  This looks like a coder just made a typing mistake.  I fixed things on the stable branch (http://hg.savannah.gnu.org/hgweb/octave/rev/23a5daf1e809) which will be part of the 6.2 bug fix release very soon.

Marking as fixed and closing report.

Rik <rik5>
Group administrator
Wed 17 Feb 2021 03:12:20 PM UTC, original submission:  

I this strange error, an extra space in the middle of a variable "iter_ min". This causes the code to break.


diff -r d35ed8538d69 scripts/sparse/bicgstab.m
--- a/scripts/sparse/bicgstab.m        Sun Feb 14 10:28:13 2021 -0800
+++ b/scripts/sparse/bicgstab.m        Wed Feb 17 12:09:27 2021 -0300
@@ -224,7 +224,7 @@
       printf ("returned an all zero solution without iterating.\n")
     endif
     x_min = zeros (numel (b), 1);
-    iter_ min = 0;
+    iter_min = 0;
     flag = 0;
     resvec = 0;
     relres = 0;
diff -r d35ed8538d69 scripts/sparse/cgs.m
--- a/scripts/sparse/cgs.m        Sun Feb 14 10:28:13 2021 -0800
+++ b/scripts/sparse/cgs.m        Wed Feb 17 12:09:27 2021 -0300
@@ -208,7 +208,7 @@
       printf ("returned an all zero solution without iterating.\n")
     endif
     x_min = zeros (numel (b), 1);
-    iter_ min = 0;
+    iter_min = 0;
     flag = 0;
     resvec = 0;1
     relres = 0;


Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #50874:  bicgstab.patch added by None (777B - text/x-patch - Trivial patch )

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-02-17 rik5 StatusNone Fixed
        Open/ClosedOpen Closed
        Release5.2.0 6.1.0
        Operating SystemGNU/Linux Any
    2021-02-17 None Attached File- Added bicgstab.patch, #50874

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code