We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 341676e commit cd31f3bCopy full SHA for cd31f3b
1 file changed
README.md
@@ -40,7 +40,7 @@ linear_interp(x, y, xq)
40
cubic_interp(x, y, xq)
41
42
# In-place interpolation for maximum performance and zero-allocation
43
-out = zeros(N_query)
+out = similar(xq)
44
for step in 1:1000
45
y = compute_new_values(step) # evolving y over time
46
0 commit comments