Skip to content

Commit

Permalink
Added denormalization (Issue #223)
Browse files Browse the repository at this point in the history
  • Loading branch information
XyDrKRulof committed May 29, 2024
1 parent 0a1d2da commit 173e25c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ def _get_cos_sin(self, state):
return np.concatenate(
(
state,
[np.cos(state[self._angle_index]), np.sin(state[self._angle_index])],
[np.cos(state[self._angle_index]*np.pi), np.sin(state[self._angle_index])*np.pi],
)
)

0 comments on commit 173e25c

Please sign in to comment.