Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
augustjohansson committed Jul 29, 2023
1 parent b687b76 commit 31e89dc
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions demo/algoim_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,17 +82,14 @@ def create_int_array(vec):


def create_list_of_arrays(v):
# w = list()
# for i in range(len(v)):
# w.append(create_double_array(v[i]))
w = [None] * len(v)
for i in range(len(v)):
w[i] = create_double_array(v[i])
return w


# Main function
def generate_qr(mesh, NN, degree, filename, resetdata, domain, opts=[]):
def generate_qr(mesh, NN, degree, domain, opts=[]):
"""degree specifies the degree of the underlying one-dimensional
Gaussian quadrature scheme and must satisfy 1 <= qo && qo <= 10.
"""
Expand Down

0 comments on commit 31e89dc

Please sign in to comment.