-
Notifications
You must be signed in to change notification settings - Fork 458
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CON-3264 Fix rust piscine's quest-02 #2825
base: master
Are you sure you want to change the base?
Conversation
d4f960c
to
cb37e04
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small change and it's good to go
println!("{:?}", vec_function(c)); | ||
println!("{:?}", nbr_function(c)); | ||
println!("{:?}", vec_function(b)); | ||
println!("{:?}", str_function(a)); | ||
} | ||
``` | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The output here in the README is different from the one in the solution:
In the solution, we get this with the new changes:
(0, 1.0, -inf)
([1, 2, 4, 5], [0.0, 0.6931471805599453, 1.3862943611198906, 1.6094379124341003])
("1 2 4 5 6", "2.718281828459045 7.38905609893065 54.598150033144236 148.4131591025766 403.4287934927351")
Basically switch line 54 and 5.
CON-3264