dwavesystems / dwave-optimization

Enables the formulation of nonlinear models for industrial optimization problems.
https://docs.ocean.dwavesys.com/en/stable/docs_optimization/index.html#index-optimization
Apache License 2.0
7 stars 18 forks source link

Split up some large `.hpp`/`.cpp` files #143

Closed arcondello closed 1 month ago

arcondello commented 1 month ago

No functional changes.

This will speed up repeating compiling in some cases and overall make things a bit less unwieldy.

The manipulation.hpp name was chosen to match NumPy's array manipulation docs.

wbernoudy commented 1 month ago

Why not more subdirectories for the tests, e.g. tests/test_nodes/mathematical/binaryop.cpp?

arcondello commented 1 month ago

Why not more subdirectories for the tests, e.g. tests/test_nodes/mathematical/binaryop.cpp?

That's a good idea. The reason was because the way the makefile did discovery, but that's not a thing anymore! I will make the change.

arcondello commented 1 month ago

Though now I am half tempted to put them in the source tree... maybe later. For now I've added nesting in d6d2b5b