For the sake of configuration, documentation, and user experience, it makes sense to still build these objects. That way, they always show up in docs and don't throw useless "missing object" errors.
Design
Wrap more things with NEML2_ENABLED checks and still compile the objects, just with missing features.
Impact
Better user experience, probably a little more code.
Reason
For the sake of configuration, documentation, and user experience, it makes sense to still build these objects. That way, they always show up in docs and don't throw useless "missing object" errors.
Design
Wrap more things with
NEML2_ENABLED
checks and still compile the objects, just with missing features.Impact
Better user experience, probably a little more code.