We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 255044d commit 9c6b70dCopy full SHA for 9c6b70d
1 file changed
aerosandbox/numpy/typing.py
@@ -58,8 +58,13 @@
58
# CasADi types (internal use only)
59
# =============================================================================
60
61
-_CasADiType = _cas.MX | _cas.DM | _cas.SX
62
-"""Any CasADi array type (MX, DM, or SX). Internal use only."""
+_CasADiType = _cas.MX | _cas.DM
+"""CasADi array types compatible with AeroSandbox's Opti class. Internal use only.
63
+
64
+Note: cas.SX is intentionally excluded. While aerosandbox.numpy operations support SX
65
+at runtime, the Opti class is MX-based and incompatible with SX. Type hints using
66
+_CasADiType reflect what works in the optimization context.
67
+"""
68
69
70
# CONCRETE TYPES - For external tools, I/O, plotting (NumPy only)
0 commit comments