Skip to content

Commit

Permalink
Fix variable initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
rocher committed Mar 22, 2023
1 parent 4698943 commit 1830569
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/euler_package.adb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ package body Euler_Package is
------------------

function Collatz_Next (Number : Int_Type) return Int_Type is
Next : Int_Type;
Next : Int_Type := Number;
begin
if Number mod 2 = 0 then
Next := @ / 2;
Expand Down

0 comments on commit 1830569

Please sign in to comment.