Skip to content

Commit

Permalink
Removed two cancelling transpositions
Browse files Browse the repository at this point in the history
  • Loading branch information
ekera committed Apr 8, 2024
1 parent 8f64ed9 commit 91ce3ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions simulator.sage
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ def solve_samples_for_factors(samples, N, d, R, verbose = True):
if X.row_space() != M.transpose().row_space():
raise Exception("Error: Failed to run LLL (3).");

LB = X[:d, :d].transpose();
LB = X[:d, :d];

# Build the a and b vectors.
[a, b] = build_a_b_vectors(d);
Expand All @@ -620,7 +620,7 @@ def solve_samples_for_factors(samples, N, d, R, verbose = True):
# Setup the factor collection.
factors = FactorCollection(N);

for v in LB.transpose():
for v in LB:
A = prod([R(a[i])^v[i] for i in range(d)]);
B = prod([R(b[i])^v[i] for i in range(d)]);

Expand Down

0 comments on commit 91ce3ba

Please sign in to comment.