Skip to content

Commit

Permalink
Fix topology coefficient reset
Browse files Browse the repository at this point in the history
  • Loading branch information
marcbasquensmunoz committed Nov 12, 2024
1 parent 78b0508 commit 0fe9ef9
Show file tree
Hide file tree
Showing 2 changed files with 4 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 = "BoreholeNetworksSimulator"
uuid = "b11dda51-a240-44f0-a43d-fea4e1309b86"
authors = ["Marc Basquens <[email protected]>", "Alberto Lazzarotto <[email protected]>"]
version = "0.1.16"
version = "0.1.17"

[deps]
Bessels = "0e736298-9ec6-45e8-9647-e4fc86a2fe38"
Expand Down
4 changes: 3 additions & 1 deletion src/modular/core/topology.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ function topology_coeffs!(M, network::BoreholeNetwork, mass_flows)
end
end

function topology_b!(b, ::BoreholeOperation) end
function topology_b!(b, ::BoreholeOperation)
b .= zero(eltype(b))
end

0 comments on commit 0fe9ef9

Please sign in to comment.