Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

realign with MAD #118

Merged
merged 1 commit into from
Jun 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/low_level/ctpsa.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand All @@ -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

Expand Down
6 changes: 3 additions & 3 deletions src/low_level/rtpsa.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand All @@ -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

Expand Down
Loading