mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 09:41:36 +00:00
Fix a typo is julia.html.markdown
This commit is contained in:
parent
5b0db44e7c
commit
b42f739fa4
@ -723,7 +723,7 @@ code_native(square_area, (Float64,))
|
||||
# ret
|
||||
#
|
||||
# Note that julia will use floating point instructions if any of the
|
||||
# arguements are floats.
|
||||
# arguments are floats.
|
||||
# Let's calculate the area of a circle
|
||||
circle_area(r) = pi * r * r # circle_area (generic function with 1 method)
|
||||
circle_area(5) # 78.53981633974483
|
||||
|
Loading…
Reference in New Issue
Block a user