Skip to content

Commit

Permalink
Fix undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
duembgen committed Mar 13, 2024
1 parent cf91381 commit 919d94f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions poly_matrix/poly_matrix.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
from copy import deepcopy
import time

import matplotlib.pyplot as plt
import numpy as np
Expand Down Expand Up @@ -546,9 +545,6 @@ def get_matrix_sparse(self, variables=None, output_type="coo", verbose=False):
j_list = np.append(j_list, cols + indices_j[key_j])
data_list = np.append(data_list, values[rows, cols])

if verbose:
print(f"Filling took {time.time() - t1:.2}s.")

shape = get_shape(variable_dict["i"], variable_dict["j"])

if output_type == "coo":
Expand Down

0 comments on commit 919d94f

Please sign in to comment.