Skip to content

Commit

Permalink
Merge pull request starkware-libs#27 from Lawliet-Chan/fix_fib
Browse files Browse the repository at this point in the history
fix fibonacci cairo
  • Loading branch information
LandauRaz authored Jul 23, 2024
2 parents 4b1585b + 55ec913 commit b26d07a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions e2e_test/Cairo/fibonacci.cairo
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
use core::felt252;

fn main() -> felt252 {
fn main() -> Array<felt252> {
let n = 10;
let result = fib(1, 1, n);
let mut result = array![];
result.append(fib(1, 1, n));
result
}

Expand Down

0 comments on commit b26d07a

Please sign in to comment.