Skip to content

Commit

Permalink
fix fibonacci cairo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lawliet-Chan committed Jun 20, 2024
1 parent 64a70da commit 55ec913
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 55ec913

Please sign in to comment.