Skip to content

Commit cc6f911

Browse files
committed
Fix macro type and update radarsimcpp submodule
Corrects the macro value for _FREETIER_ to be a string and updates the type annotation for macros in setup.py. Also updates the radarsimcpp submodule to the latest commit.
1 parent fe8ef3a commit cc6f911

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

setup.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,10 +178,12 @@ def _configure_macros(self) -> None:
178178
Sets up macros for compilation including NumPy compatibility,
179179
free tier, and CUDA support based on configuration.
180180
"""
181-
self.macros = [("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")]
181+
self.macros: List[tuple[str, Optional[str]]] = [
182+
("NPY_NO_DEPRECATED_API", "NPY_1_7_API_VERSION")
183+
]
182184

183185
if self.is_free:
184-
self.macros.append(("_FREETIER_", 1))
186+
self.macros.append(("_FREETIER_", "1"))
185187

186188
if self.is_gpu:
187189
self.macros.append(("_CUDA_", None))

src/radarsimcpp

0 commit comments

Comments
 (0)