Skip to content

Commit

Permalink
remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Specy committed Oct 30, 2024
1 parent 80ce1a0 commit 4dc2acc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "microlp"
version = "0.2.3"
version = "0.2.4"
authors = [
"Alexey Zatelepin <[email protected]>",
"Specy <[email protected]"
Expand Down
3 changes: 0 additions & 3 deletions src/ordering.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ pub fn order_simple<'a>(size: usize, get_col: impl Fn(usize) -> &'a [usize]) ->
let mut new2orig = Vec::with_capacity(size);
//TODO bug here
while new2orig.len() < size {
println!("{} {} {}", size, cols_queue.len(), new2orig.len());
let min = cols_queue.pop_min();
println!("{:?}", min);
new2orig.push(min.unwrap());
}

Expand Down Expand Up @@ -425,7 +423,6 @@ impl ColsQueue {
return None
}
if let Some(col) = self.score2head[self.min_score] {
//println!("breaking {:?}", col); //TODO add this to make the code work!
break col;
}
self.min_score += 1;
Expand Down

0 comments on commit 4dc2acc

Please sign in to comment.