Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0fdc01f2dfd1e4500fa79cbfd7c0e580e94e7647a4fb32c10b71feeff99c38a9
Ticket: 999b6966b29915bf9e3754969e5521e7573dc667
lseq has incorrect results in edge cases
User & Date: juliannoble2 on 2025-11-27 16:34:31
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    Documentation states:
    
      If a step vale is included, it's sign should agree with the direction of the sequence (descending → negative and ascending → positive), otherwise an empty list is returned
    
    The behaviour of lseq only matches this statement for step sizes up to the length of the sequence.
    
    %lseq 1 to 10 by -9
    %lseq 1 to 10 by -10
    1
    
    %lseq 10 to 1 by 9
    %lseq 10 to 1 by 10
    10
    
  5. is_private changed to: "0"
  6. login: "juliannoble2"
  7. priority changed to: "5 Medium"
  8. private_contact changed to: "957fdfcd8744611e3fe1f4896c7538b1d9bf47b2"
  9. resolution changed to: "None"
  10. severity changed to: "Minor"
  11. status changed to: "Open"
  12. submitter changed to: "juliannoble2"
  13. subsystem changed to: "17. Commands I-L"
  14. title changed to:
    lseq doc mismatch for sign not agreeing with seq direction
    
  15. type changed to: "Bug"