Skip to content

Commit

Permalink
chore: Fix another Clippy warning. (#224)
Browse files Browse the repository at this point in the history
  • Loading branch information
jetuk authored Jul 22, 2024
1 parent 108882c commit fa11f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pywr-schema/src/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ impl PywrMultiNetworkModel {
let mut model = pywr_core::models::MultiNetworkModel::new(domain);

for (name, network) in networks {
model.add_network(&name, network);
model.add_network(&name, network)?;
}

for (from_network_idx, from_metric, to_network_idx, initial_value) in inter_network_transfers {
Expand Down

0 comments on commit fa11f03

Please sign in to comment.