Skip to content

Commit

Permalink
Fix note tag in the documentation (#28877)
Browse files Browse the repository at this point in the history
(cherry picked from commit a5bfabc)
  • Loading branch information
ronisbr authored and KristofferC committed Feb 11, 2019
1 parent 81b2fa3 commit 1cf8330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/src/manual/performance-tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -1151,7 +1151,7 @@ The common idiom of using 1:n to index into an AbstractArray is not safe if the
and may cause a segmentation fault if bounds checking is turned off. Use `LinearIndices(x)` or `eachindex(x)`
instead (see also [offset-arrays](https://docs.julialang.org/en/latest/devdocs/offset-arrays)).

!!!note
!!! note
While `@simd` needs to be placed directly in front of an innermost `for` loop, both `@inbounds` and `@fastmath`
can be applied to either single expressions or all the expressions that appear within nested blocks of code, e.g.,
using `@inbounds begin` or `@inbounds for ...`.
Expand Down

0 comments on commit 1cf8330

Please sign in to comment.