Skip to content

Commit

Permalink
fix: transpose was always empty
Browse files Browse the repository at this point in the history
  • Loading branch information
erwanvivien committed Dec 17, 2022
1 parent 224cd15 commit 9d732e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/placement.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ pub fn place_on_matrix(
let mut best_mask = MASKS[0];

let mut qr = default::create_matrix(version);
let transpose = default::transpose(&qr);

place_on_matrix_data(&mut qr, structure_as_binarystring);

let transpose = default::transpose(&qr);

for mask in MASKS {
let mut copy = qr.clone();
let copy_transpose = transpose.clone();
Expand Down

0 comments on commit 9d732e7

Please sign in to comment.