Skip to content

Commit

Permalink
small bugfix for arraymargins constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
vankesteren committed Feb 15, 2023
1 parent c509840 commit 0748bcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "ProportionalFitting"
uuid = "3c40d49d-59d4-4b5d-adaa-75a7fbc8c64f"
authors = ["Erik-Jan van Kesteren <[email protected]>"]
version = "0.3.0"
version = "0.3.1"

[deps]

Expand Down
2 changes: 1 addition & 1 deletion src/ArrayMargins.jl
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ end
function ArrayMargins(am::Vector{<:AbstractArray}, di::DimIndices)
AT = eltype(am)
PT = promote_type(eltype.(am)...)
ArrayFactors(Vector{AT{PT}}(am), di)
ArrayMargins(Vector{AT{PT}}(am), di)
end

# Constructor promoting vector to dimindices
Expand Down

0 comments on commit 0748bcf

Please sign in to comment.