Skip to content

Commit

Permalink
Bug fix in test_curve_objectives
Browse files Browse the repository at this point in the history
  • Loading branch information
mbkumar committed Jan 13, 2023
1 parent d2cb28b commit 7196636
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/geo/test_curve_objectives.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,14 +362,14 @@ def test_linking_number(self):

curves1 = create_equally_spaced_curves(2, 1, stellsym=True, R0=1, R1=0.5, order=5, numquadpoints=128)
curve1 = CurveXYZFourier(200, 3)
coeffs = curve1.dofs
coeffs = curve1.dofs_matrix
coeffs[1][0] = 1.
coeffs[1][1] = 0.5
coeffs[2][2] = 0.5
curve1.set_dofs(np.concatenate(coeffs))

curve2 = CurveXYZFourier(150, 3)
coeffs = curve2.dofs
coeffs = curve2.dofs_matrix
coeffs[1][0] = 0.5
coeffs[1][1] = 0.5
coeffs[0][0] = 0.1
Expand Down

0 comments on commit 7196636

Please sign in to comment.