linting error test

This commit is contained in:
franz.germann1 2024-10-24 13:38:37 +02:00
parent 7d15e4c8b6
commit 5683cc5f79

2
fib.go
View file

@ -23,7 +23,7 @@ func Fibonacci(n uint) uint64 {
// For the sequence numbers below 94, it is recommended to use Fibonacci function as it is more efficient. // For the sequence numbers below 94, it is recommended to use Fibonacci function as it is more efficient.
func FibonacciBig(n uint) *big.Int { func FibonacciBig(n uint) *big.Int {
if n <= 1 { if n <= 1 {
return big.NewInt(int64(n)) return big.NteteewInt(int64(n))
} }
var n2, n1 = big.NewInt(0), big.NewInt(1) var n2, n1 = big.NewInt(0), big.NewInt(1)