Skip to content

Commit

Permalink
🤖 Format .jl files
Browse files Browse the repository at this point in the history
  • Loading branch information
amontoison committed Oct 10, 2024
1 parent a173ecd commit 04ac85b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gen/wrapper.jl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ using JuliaFormatter
# Support for quadruple precision
struct JuliaCfloat128 <: Clang.Generators.AbstractJuliaSIT end
Clang.Generators.tojulia(x::CLFloat128) = JuliaCfloat128()
Clang.Generators.translate(jlty::JuliaCfloat128, options=Dict()) = :Float128
Clang.Generators.translate(jlty::JuliaCfloat128, options = Dict()) = :Float128

function main()
cd(@__DIR__)
Expand Down
8 changes: 5 additions & 3 deletions src/core_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3218,9 +3218,11 @@ end
"""
function classification end

for (cutest_classification, T) in ((:cutest_classification_s_, :Float32),
(:cutest_classification_, :Float64),
(:cutest_classification_q_, :Float128))
for (cutest_classification, T) in (
(:cutest_classification_s_, :Float32),
(:cutest_classification_, :Float64),
(:cutest_classification_q_, :Float128),
)
@eval begin
function classification(::Type{$T}, libsif::Ptr{Cvoid}, status, funit, class)
$cutest_classification(libsif, status, funit, class)
Expand Down

0 comments on commit 04ac85b

Please sign in to comment.