Skip to content

Commit

Permalink
Remove move_coeffs
Browse files Browse the repository at this point in the history
  • Loading branch information
dannys4 committed Jan 30, 2024
1 parent 5790de8 commit 8e3d0c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MParT.jl
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ end
TriangularMap(maps::Vector, move_coeffs::Bool = true)
Creates a `TriangularMap` from a vector of `ConditionalMapBase` objects.
The new object takes ownership of the coeffs of the maps in `maps` if
TODO: The new object takes ownership of the coeffs of the maps in `maps` if
`move_coeffs` is true.
# Examples
Expand All @@ -352,7 +352,7 @@ julia> trimap = TriangularMap(components);
"""
function TriangularMap(maps::Vector, move_coeffs::Bool = true)
maps = StdVector([map for map in maps])
TriangularMap(maps, move_coeffs)
TriangularMap(maps)
end

"""
Expand Down

0 comments on commit 8e3d0c4

Please sign in to comment.