Skip to content

Commit

Permalink
Merge branch 'main' of github.com:jasciiz/evox into pr
Browse files Browse the repository at this point in the history
  • Loading branch information
BillHuang2001 committed Oct 12, 2023
2 parents ea8b504 + c598b6a commit a698f67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/evox/problems/numerical/maf.py
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ def evaluate(self, state, X):

def pf(self, state):
n = self.ref_num * self.m
temp = jnp.linspace(-1, 1, num=math.ceil(math.sqrt(n)))
temp = jnp.linspace(-1, 1, num=jnp.ceil(jnp.sqrt(n)).astype(int))
y, x = jnp.meshgrid(temp, temp)
x = x.ravel(order="F")
y = y.ravel(order="F")
Expand Down

0 comments on commit a698f67

Please sign in to comment.