Skip to content

Commit

Permalink
Change copy to deepcopy
Browse files Browse the repository at this point in the history
  • Loading branch information
thofma committed Sep 21, 2023
1 parent 3827bb4 commit 0018b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/NumFieldOrd/NfOrd/NfOrd.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1059,7 +1059,7 @@ function _order(K::S, elt::Vector{T}; cached::Bool = true, check::Bool = true, e
end
if phase == 1
# [1] -> [1, e] -> [1, e, e, e^2] -> ... otherwise
push!(bas, copy(f))
push!(bas, deepcopy(f))
else
b = elem_type(K)[e*x for x in bas]
append!(bas, b)
Expand Down

0 comments on commit 0018b65

Please sign in to comment.