Skip to content

Commit

Permalink
hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisRackauckas committed Apr 8, 2020
1 parent 7814b33 commit 7c76cc1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "MultiScaleArrays"
uuid = "f9640e96-87f6-5992-9c3b-0743c6a49ffa"
authors = ["Chris Rackauckas <accounts@chrisrackauckas.com>"]
version = "1.7.0"
version = "1.7.1"

[deps]
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
Expand Down
7 changes: 0 additions & 7 deletions src/math.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ Broadcast.BroadcastStyle(::Type{<:AMSA}) = AMSAStyle()
out
end

@inline function Base.copy(bc::Broadcast.Broadcasted{<:AMSAStyle})
first_amsa = find_amsa(bc)
out = similar(first_amsa)
copyto!(out,bc)
out
end

@inline function Base.copyto!(dest::AMSA, bc::Broadcast.Broadcasted{<:AMSAStyle})
N = length(dest.nodes)
for i in 1:N
Expand Down

0 comments on commit 7c76cc1

Please sign in to comment.