Skip to content

Commit 6fff0be

Browse files
committed
'm' is part of param again.
1 parent 0f6fdfd commit 6fff0be

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/optimal_network.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function optimal_network(param, graph; I0=nothing, Il=nothing, Iu=nothing, verbo
133133
PQ = dropdims(sum(PQ + permutedims(PQ, [2, 1, 3]), dims=3), dims = 3)
134134
else
135135
PQ = repeat(results[:PCj], 1, J)
136-
matm = permutedims(repeat(graph.m, 1, J, J), [3, 2, 1])
136+
matm = permutedims(repeat(param.m, 1, J, J), [3, 2, 1])
137137
cost = dropdims(sum(matm .* results[:Qjkn] .^ param.nu, dims=3), dims = 3) .^ ((param.beta + 1) / param.nu)
138138
PQ .*= cost
139139
PQ += PQ'

0 commit comments

Comments
 (0)