Output flow in decimal.

This commit is contained in:
chriseth 2022-12-20 23:10:25 +01:00
parent 4dba841c22
commit ffba4f1f4c
2 changed files with 2 additions and 2 deletions

View file

@ -84,7 +84,7 @@ fn main() {
max_flow,
max_hops,
);
println!("Found flow: {flow}");
println!("Found flow: {}", flow.to_decimal());
//println!("{:?}", transfers);
let result = json::object! {

View file

@ -52,7 +52,7 @@ pub fn compute_flow(
!out.is_empty()
});
println!("Max flow: {flow}");
println!("Max flow: {}", flow.to_decimal());
if flow > requested_flow {
let still_to_prune = prune_flow(source, sink, flow - requested_flow, &mut used_edges);