Fix spelling of bottom_up_flow

This commit is contained in:
Matt Brubeck 2017-08-07 17:02:07 -07:00
parent d1a37f1ea3
commit ee697a926d

View file

@ -82,7 +82,7 @@ impl FlowParallelInfo {
/// ///
/// The only communication between siblings is that they both /// The only communication between siblings is that they both
/// fetch-and-subtract the parent's children count. /// fetch-and-subtract the parent's children count.
fn buttom_up_flow(mut unsafe_flow: UnsafeFlow, fn bottom_up_flow(mut unsafe_flow: UnsafeFlow,
assign_bsize_traversal: &AssignBSizes) { assign_bsize_traversal: &AssignBSizes) {
loop { loop {
// Get a real flow. // Get a real flow.
@ -156,7 +156,7 @@ fn top_down_flow<'scope>(unsafe_flows: &[UnsafeFlow],
// If there were no more children, start assigning block-sizes. // If there were no more children, start assigning block-sizes.
if !had_children { if !had_children {
buttom_up_flow(*unsafe_flow, &assign_bsize_traversal) bottom_up_flow(*unsafe_flow, &assign_bsize_traversal)
} }
} }