We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I apologize if this is user error, as I am pretty new to Julia. When I use normalize with just the factor itself, the function performs as expected.
normalize(Factor([:a, :b], Float64[1 2; 3 4]))
But when I ask it to normalize with respect to a dimension, I get a MethodError.
normalize(Factor([:a, :b], Float64[1 2; 3 4]),:b)
MethodError: no method matching sum(::typeof(abs), ::Matrix{Float64}, ::Vector{Union{Nothing, Int64}}) Closest candidates are: sum(::Any, ::AbstractArray; dims, kw...) at reducedim.jl:874
Am I doing something wrong or is there a bug?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I apologize if this is user error, as I am pretty new to Julia. When I use normalize with just the factor itself, the function performs as expected.
normalize(Factor([:a, :b], Float64[1 2; 3 4]))
But when I ask it to normalize with respect to a dimension, I get a MethodError.
normalize(Factor([:a, :b], Float64[1 2; 3 4]),:b)
MethodError: no method matching sum(::typeof(abs), ::Matrix{Float64}, ::Vector{Union{Nothing, Int64}})
Closest candidates are:
sum(::Any, ::AbstractArray; dims, kw...) at reducedim.jl:874
Am I doing something wrong or is there a bug?
The text was updated successfully, but these errors were encountered: