I THINK that the single shooter is ok. I can always improve it later

This commit is contained in:
rconnorjohnstone
2021-06-17 23:36:50 -06:00
parent 2c39c34f01
commit 966f954528
13 changed files with 170 additions and 61 deletions

16
julia/result.jl Normal file
View File

@@ -0,0 +1,16 @@
struct Result
converged::Bool
ΔVs::Matrix{Float64}
start::Vector{Float64}
final::Vector{Float64}
end
function Result(name::String)
if name == "test_converged"
return Result(true, Matrix(undef,0,0), Vector{Float64}(), Vector{Float64}())
elseif name == "test_unconverged"
return Result(false, Matrix(undef,0,0), Vector{Float64}(), Vector{Float64}())
else
throw(ErrorException("Bad result name"))
end
end