Skip to content

Commit

Permalink
Updating reference to TensorValues
Browse files Browse the repository at this point in the history
  • Loading branch information
fverdugo committed Jun 7, 2019
1 parent f628cda commit 59000ef
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion Manifest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ uuid = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"

[[TensorValues]]
deps = ["LinearAlgebra", "StaticArrays"]
git-tree-sha1 = "14f3984aaedb900c5c5d6d79435318a73e530851"
git-tree-sha1 = "3d067021d238f9cf57d78ba5c64d93d8a0c80f3e"
repo-rev = "master"
repo-url = "https://github.com/gridap/TensorValues.jl.git"
uuid = "31c64edf-cdeb-50e4-845d-ed2334360c20"
Expand Down
13 changes: 0 additions & 13 deletions src/CellwiseValues.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,6 @@ module CellwiseValues

using Reexport

# To be ported to TensorValues
using TensorValues
import Base: sum
import Base: +, -, *, /
sum(a::MultiValue) = sum(a.array)
for op in (:+,:-,:*)
@eval begin
($op)(a::MultiValue,b::Number) = MultiValue($op(a.array,b))
($op)(a::Number,b::MultiValue) = MultiValue($op(a,b.array))
end
end
(/)(a::MultiValue,b::Number) = MultiValue(a.array/b)

include("Helpers.jl")
@reexport using CellwiseValues.Helpers

Expand Down

0 comments on commit 59000ef

Please sign in to comment.