diff --git a/src/low_level/ctpsa.jl b/src/low_level/ctpsa.jl index 2a612bc5..e5ae4aba 100644 --- a/src/low_level/ctpsa.jl +++ b/src/low_level/ctpsa.jl @@ -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. @@ -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 diff --git a/test/compare_MAD.jl b/test/compare_MAD.jl index b8802296..5d9b16f2 100644 --- a/test/compare_MAD.jl +++ b/test/compare_MAD.jl @@ -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") @@ -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") @@ -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") @@ -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")