Skip to content

Commit a531f4e

Browse files
authored
Escape underscores in warning message
1 parent ca505eb commit a531f4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/PreallocationTools.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ end
7171

7272
function enlargedualcache!(dc, nelem) #warning comes only once per dualcache.
7373
chunksize = div(nelem, length(dc.du)) - 1
74-
@warn "The supplied dualcache was too small and was enlarged. This incurrs allocations
75-
on the first call to get_tmp. If few calls to get_tmp occur and optimal performance is essential,
74+
@warn "The supplied dualcache was too small and was enlarged. This incurs allocations
75+
on the first call to `get_tmp`. If few calls to `get_tmp` occur and optimal performance is essential,
7676
consider changing 'N'/chunk size of this dualcache to $chunksize."
7777
resize!(dc.dual_du, nelem)
7878
end

0 commit comments

Comments
 (0)