Fixed angle normalization bug.

This commit is contained in:
Roger Labbe 2015-06-13 13:21:17 -07:00
parent 4c712918b8
commit 1152bf053d

View File

@ -1569,7 +1569,7 @@
" if y[1] > np.pi:\n",
" y[1] -= 2*np.pi\n",
" if y[1] < -np.pi:\n",
" y[1] = 2*np.pi\n",
" y[1] += 2*np.pi\n",
" return y"
]
},
@ -1852,7 +1852,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.4.3"
"version": "3.4.1"
}
},
"nbformat": 4,