Skip to content

Commit 0748bcf

Browse files
committed
small bugfix for arraymargins constructor
1 parent c509840 commit 0748bcf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ProportionalFitting"
22
uuid = "3c40d49d-59d4-4b5d-adaa-75a7fbc8c64f"
33
authors = ["Erik-Jan van Kesteren <[email protected]>"]
4-
version = "0.3.0"
4+
version = "0.3.1"
55

66
[deps]
77

src/ArrayMargins.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ end
5757
function ArrayMargins(am::Vector{<:AbstractArray}, di::DimIndices)
5858
AT = eltype(am)
5959
PT = promote_type(eltype.(am)...)
60-
ArrayFactors(Vector{AT{PT}}(am), di)
60+
ArrayMargins(Vector{AT{PT}}(am), di)
6161
end
6262

6363
# Constructor promoting vector to dimindices

0 commit comments

Comments
 (0)