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 c4bcb9d commit b4ab8a2Copy full SHA for b4ab8a2
python/sdist/amici/de_export.py
@@ -3488,12 +3488,14 @@ def vector_initializer(v):
3488
def _write_c_make_file(self):
3489
"""Write CMake ``CMakeLists.txt`` file for this model."""
3490
sources = "\n".join(
3491
- f + " "
3492
- for f in os.listdir(self.model_path)
3493
- if f.endswith(
3494
- (".cpp", ".h"),
+ sorted(
+ f + " "
+ for f in os.listdir(self.model_path)
+ if f.endswith(
3495
+ (".cpp", ".h"),
3496
+ )
3497
+ and f != "main.cpp"
3498
)
- and f != "main.cpp"
3499
3500
3501
template_data = {
0 commit comments