mirror of
https://hub.njuu.cf/TheAlgorithms/Python.git
synced 2023-10-11 13:06:12 +08:00
Fix the build typo: fn --> fn1 (#1205)
This commit is contained in:
parent
2375bfbee5
commit
a79fc2b92a
@ -64,7 +64,7 @@ def simple_fibonacci(n, f1, f2):
|
|||||||
fn_1, fn_2 = fn_1 + fn_2, fn_1
|
fn_1, fn_2 = fn_1 + fn_2, fn_1
|
||||||
n -= 1
|
n -= 1
|
||||||
|
|
||||||
return fn
|
return fn_1
|
||||||
|
|
||||||
|
|
||||||
def matrix_exponentiation_time():
|
def matrix_exponentiation_time():
|
||||||
|
Loading…
Reference in New Issue
Block a user