Skip to content

Commit

Permalink
final changes 3
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulgaur104 committed Sep 26, 2024
1 parent a5c7673 commit ff85459
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desc/objectives/_stability.py
Original file line number Diff line number Diff line change
Expand Up @@ -566,10 +566,10 @@ def build(self, eq=None, use_jit=True, verbose=1):
self._alpha,
(
jnp.linspace(0, jnp.pi, 8)
if eq.N != 0
if eq.N != 0 and eq.sym is True
else (
jnp.linspace(0, 2 * np.pi, 16)
if eq.sym is False
if eq.N != 0 and eq.sym is False
else jnp.array(0.0)
)
),
Expand Down

0 comments on commit ff85459

Please sign in to comment.