Skip to content

Commit

Permalink
test housekeeping
Browse files Browse the repository at this point in the history
  • Loading branch information
mattsignorelli committed Jul 2, 2024
1 parent 7fa300f commit 689ee9e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/low_level/ctpsa.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2841,7 +2841,7 @@ end


"""
mad_ctpsa_print(t::Ptr{CTPSA}, name_::Cstring, eps_::Cdouble, nohdr_::Cint, stream_::Ptr{Cvoid})
mad_ctpsa_print(t::Ptr{CTPSA}, name_ eps_::Cdouble, nohdr_::Cint, stream_::Ptr{Cvoid})
Prints the TPSA coefficients with precision `eps_`. If `nohdr_` is not zero,
the header is not printed.
Expand All @@ -2853,7 +2853,7 @@ the header is not printed.
- `nohdr_` -- (Optional) If True, no header is printed
- `stream_` -- (Optional) `FILE` pointer of output stream. Default is `stdout`
"""
function mad_ctpsa_print(t::Ptr{CTPSA}, name_::Cstring, eps_::Cdouble, nohdr_::Cint, stream_::Ptr{Cvoid})
function mad_ctpsa_print(t::Ptr{CTPSA}, name_, eps_::Cdouble, nohdr_::Cint, stream_::Ptr{Cvoid})
@ccall MAD_TPSA.mad_ctpsa_print(t::Ptr{CTPSA}, name_::Cstring, eps_::Cdouble, nohdr_::Cint, stream_::Ptr{Cvoid})::Cvoid
end

Expand Down
8 changes: 4 additions & 4 deletions test/compare_MAD.jl
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ function compare_MAD()
io = IOBuffer()

try
Downloads.download("https://raw.githubusercontent.com/mattsignorelli/gtpsa/main/code/mad_mono.h", io)
Downloads.download("https://raw.githubusercontent.com/MethodicalAcceleratorDesign/MAD-NG/dev/src/mad_mono.h", io)
println(io_out, "mad_mono.h downloaded.")
catch e
println(io_out, "Error downloading mad_mono.h")
Expand All @@ -334,7 +334,7 @@ function compare_MAD()


try
Downloads.download("https://raw.githubusercontent.com/mattsignorelli/gtpsa/main/code/mad_desc.h", io)
Downloads.download("https://raw.githubusercontent.com/MethodicalAcceleratorDesign/MAD-NG/dev/src/mad_desc.h", io)
println(io_out, "mad_desc.h downloaded.")
catch e
println(io_out, "Error downloading mad_desc.h")
Expand All @@ -351,7 +351,7 @@ function compare_MAD()


try
Downloads.download("https://raw.githubusercontent.com/mattsignorelli/gtpsa/main/code/mad_tpsa.h", io)
Downloads.download("https://raw.githubusercontent.com/MethodicalAcceleratorDesign/MAD-NG/dev/src/mad_tpsa.h", io)
println(io_out, "mad_tpsa.h downloaded.")
catch e
println(io_out, "Error downloading mad_tpsa.h")
Expand All @@ -367,7 +367,7 @@ function compare_MAD()
compare(fun_decs_c, fun_decs_jl)

try
Downloads.download("https://raw.githubusercontent.com/mattsignorelli/gtpsa/main/code/mad_ctpsa.h", io)
Downloads.download("https://raw.githubusercontent.com/MethodicalAcceleratorDesign/MAD-NG/dev/src/mad_ctpsa.h", io)
println(io_out, "mad_ctpsa.h downloaded.")
catch e
println(io_out, "Error downloading mad_ctpsa.h")
Expand Down

0 comments on commit 689ee9e

Please sign in to comment.