File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 5858# CasADi types (internal use only)
5959# =============================================================================
6060
61- _CasADiType = _cas .MX | _cas .DM | _cas .SX
62- """Any CasADi array type (MX, DM, or SX). Internal use only."""
61+ _CasADiType = _cas .MX | _cas .DM
62+ """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+ """
6368
6469# =============================================================================
6570# CONCRETE TYPES - For external tools, I/O, plotting (NumPy only)
You can’t perform that action at this time.
0 commit comments