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

Add support for Tuple functions with epigraph matrix sets #3427

Closed
wants to merge 10 commits into from
Closed
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Fix formatting
odow committed Aug 15, 2023
commit b96d63346b67cbade2e091a3a177ce6567c206db
2 changes: 1 addition & 1 deletion src/sd.jl
Original file line number Diff line number Diff line change
@@ -798,7 +798,7 @@ function reshape_vector(v::Vector{T}, shape::TupleShape) where {T}
out = Any[]
offset = 0
for (s, dimension) in shape.shapes
push!(out, reshape_vector(v[offset .+ (1:dimension)], s))
push!(out, reshape_vector(v[offset.+(1:dimension)], s))
offset += dimension
end
return tuple(out...)