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

[AUTO] JuliaFormatter.jl run #120

Closed
wants to merge 1 commit into from
Closed

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Oct 5, 2022

Automated changes by create-pull-request GitHub action

src/hsl_mc21.jl Outdated
ccall((:mc21ad_, libhsl_mc21),
Nothing,
(Ref{Int32}, Ptr{Int32}, Ref{Int32}, Ptr{Int32}, Ptr{Int32}, Ptr{Int32}, Ref{Int32}, Ptr{Int32}),
n , icn , licn , ip , lenr , iperm , numnz , iw)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@amontoison Why is lenr a Ptr and not a Ref like the other integers in this call?

Also, should we add some markup to prevent this kind of silly formatting?

Copy link
Member

@amontoison amontoison Oct 6, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, we should add some

#! format: off
#! format: on

around the ccall(s).

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I use Ptr because lenr is a vector.
Capture d’écran du 2022-10-05 23-24-35

@github-actions github-actions bot force-pushed the auto-juliaformatter-pr branch from 5100a94 to 350824f Compare October 6, 2022 03:21
@amontoison amontoison closed this Oct 6, 2022
@amontoison amontoison deleted the auto-juliaformatter-pr branch October 6, 2022 04:08
@amontoison
Copy link
Member

JuliaFormatter will open a new PR after #121

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants