From 305b89f4bd121c40898c8032073df00c6b70bccc Mon Sep 17 00:00:00 2001 From: mattsignorelli Date: Wed, 26 Jun 2024 17:50:39 -0400 Subject: [PATCH] realign with MAD --- src/low_level/ctpsa.jl | 6 +++--- src/low_level/rtpsa.jl | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/low_level/ctpsa.jl b/src/low_level/ctpsa.jl index aa8d33ac..2a612bc5 100644 --- a/src/low_level/ctpsa.jl +++ b/src/low_level/ctpsa.jl @@ -128,7 +128,7 @@ function mad_ctpsa_len(t::Ptr{CTPSA}, hi_::Bool)::Cint end """ - mad_ctpsa_mo!(t::Ptr{CTPSA}, mo_::Cuchar)::Cuchar + mad_ctpsa_mo!(t::Ptr{CTPSA}, mo::Cuchar)::Cuchar Sets the maximum order `mo` of the TPSA `t`, and returns the original `mo`. `mo_` should be less than or equal to the allocated order `ao`. @@ -140,8 +140,8 @@ Sets the maximum order `mo` of the TPSA `t`, and returns the original `mo`. ### Output - `ret` -- Original `mo` of the TPSA """ -function mad_ctpsa_mo!(t::Ptr{CTPSA}, mo_::Cuchar)::Cuchar - ret = @ccall MAD_TPSA.mad_ctpsa_mo(t::Ptr{CTPSA}, mo_::Cuchar)::Cuchar +function mad_ctpsa_mo!(t::Ptr{CTPSA}, mo::Cuchar)::Cuchar + ret = @ccall MAD_TPSA.mad_ctpsa_mo(t::Ptr{CTPSA}, mo::Cuchar)::Cuchar return ret end diff --git a/src/low_level/rtpsa.jl b/src/low_level/rtpsa.jl index e6235a3a..89e91547 100644 --- a/src/low_level/rtpsa.jl +++ b/src/low_level/rtpsa.jl @@ -129,7 +129,7 @@ end """ - mad_tpsa_mo!(t::Ptr{RTPSA}, mo_::Cuchar)::Cuchar + mad_tpsa_mo!(t::Ptr{RTPSA}, mo::Cuchar)::Cuchar Sets the maximum order `mo` of the TPSA `t`, and returns the original `mo`. `mo_` should be less than or equal to the allocated order `ao`. @@ -141,8 +141,8 @@ Sets the maximum order `mo` of the TPSA `t`, and returns the original `mo`. ### Output - `ret` -- Original `mo` of the TPSA """ -function mad_tpsa_mo!(t::Ptr{RTPSA}, mo_::Cuchar)::Cuchar - ret = @ccall MAD_TPSA.mad_tpsa_mo(t::Ptr{RTPSA}, mo_::Cuchar)::Cuchar +function mad_tpsa_mo!(t::Ptr{RTPSA}, mo::Cuchar)::Cuchar + ret = @ccall MAD_TPSA.mad_tpsa_mo(t::Ptr{RTPSA}, mo::Cuchar)::Cuchar return ret end