bugGNU Octave - Bugs: bug #66265, (communications) "shift"...

 
 

bug #66265: (communications) "shift" is deprecated and removed in octave 10

Submitter:  Dmitri A. Sergatskov <dasergatskov>
Submitted:  Fri 27 Sep 2024 06:03:28 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Installation Failure
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Release: 
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 20 Feb 2025 08:10:54 AM UTC, comment #3: 

Afaict, communications 1.2.7 (2025-01-30) should be containing a fix for this issue.
Thanks for the pointer.

Closing report.

Markus Mützel <mmuetzel>
Group administrator
Thu 20 Feb 2025 05:56:06 AM UTC, comment #2: 

Can be closed.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Wed 02 Oct 2024 05:47:52 PM UTC, comment #1: 

Thanks, replaced in the repository.

Nir Krakauer <nir_krakauer>
Fri 27 Sep 2024 06:03:28 PM UTC, original submission:  

I see in octave 9.2:

octave:1> help shift
'shift' is a function from the file /app/share/octave/9.2.0/m/deprecated/shift.m

 -- Y = shift (X, B)
 -- Y = shift (X, B, DIM)

     'shift' is deprecated and will be removed in Octave version 10.
     Use 'circshift' instead.


It used in

qaskdeco.m:    Gray = fliplr (de2bi (shift (Gray, length (Gray)/2 - 1)));
qaskenco.m:    Gray = fliplr (de2bi (shift (Gray, length (Gray)/2 - 1)));


Replacing "shift" with "circshift" seems to fix the problem.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by nir_krakauer (Posted a comment)
  • -email is unavailable- added by dasergatskov (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-02-20 mmuetzel StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.15-26b0.
    Corresponding source code