Skip to content

Replace Integer with Int in Meta files#426

Open
arnavk23 wants to merge 3 commits into
JuliaSmoothOptimizers:mainfrom
arnavk23:fix-421-arglin-m
Open

Replace Integer with Int in Meta files#426
arnavk23 wants to merge 3 commits into
JuliaSmoothOptimizers:mainfrom
arnavk23:fix-421-arglin-m

Conversation

@arnavk23

Copy link
Copy Markdown
Contributor

Fixes #420
@tmigot done using

dir = "src/Meta"
for f in readdir(dir, join=true)
    if endswith(f, ".jl")
        s = read(f, String)
        s2 = replace(s, "n::Integer" => "n::Int")
        if s != s2
            println("Updating $f")
            write(f, s2)
        end
    end
end

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Unify problem's size type

1 participant