diff --git a/Project.toml b/Project.toml index 8a0c29c..caaa297 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "SpinGlassNetworks" uuid = "b7f6bd3e-55dc-4da6-96a9-ef9dbec6ac19" authors = ["Anna Maria Dziubyna ", "Tomasz Śmierzchalski ", "Bartłomiej Gardas ", "Konrad Jałowiecki ", "Łukasz Pawela ", "Marek M. Rams "] -version = "1.1.1" +version = "1.1.2" [deps] CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b" diff --git a/src/spectrum.jl b/src/spectrum.jl index 039c40c..2948f96 100644 --- a/src/spectrum.jl +++ b/src/spectrum.jl @@ -61,7 +61,7 @@ This function takes a matrix of binary vectors, where each row represents a bina # Returns: - `Vector{Int}`: An array of integer representations of the binary vectors. """ -function matrix_to_integers(matrix::Vector{Vector{T}}) where {T} +function matrix_to_integers(matrix::Vector{<:Vector{<:Integer}}) nrows = length(matrix[1]) multipliers = 2 .^ collect(0:nrows-1) div.((hcat(matrix...)' .+ 1), 2) * multipliers