Skip to content

Commit 2028d35

Browse files
Abstracts
1 parent d5d413b commit 2028d35

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/ReusableFunctions.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ function maker3function(f::Function)
151151
return d[tp]
152152
end
153153
end
154-
function maker3function(f::Function, dirname::AbstractString, paramkeys::Vector, resultkeys::Vector; resultkey::AbstractString="vecresult", xkey::AbstractString="vecx")
154+
function maker3function(f::Function, dirname::AbstractString, paramkeys::AbstractVector, resultkeys::AbstractVector; resultkey::AbstractString="vecresult", xkey::AbstractString="vecx")
155155
!quiet && (@show paramkeys; @show resultkeys)
156156
if !isdir(dirname)
157157
try
@@ -160,7 +160,7 @@ function maker3function(f::Function, dirname::AbstractString, paramkeys::Vector,
160160
error("Directory $dirname cannot be created")
161161
end
162162
end
163-
function r3f(x::Vector)
163+
function r3f(x::AbstractVector)
164164
if length(paramkeys) > 0
165165
filename = gethashfilename(dirname, DataStructures.OrderedDict{AbstractString, Float64}(zip(paramkeys, x)))
166166
else

test/runtests.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ end
2828
return x
2929
end
3030

31-
@stderrcapture function freusevector(x::Vector)
31+
@stderrcapture function freusevector(x::AbstractVector)
3232
sleep(0.1)
3333
return x
3434
end

0 commit comments

Comments
 (0)