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:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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 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.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code