jorgensd / dolfinx_mpc

Extension for dolfinx to handle multi-point constraints.
https://jorgensd.github.io/dolfinx_mpc/
MIT License
30 stars 12 forks source link

Missing <algorithm> in assemble_utils.cpp #80

Closed LucasPa closed 10 months ago

LucasPa commented 10 months ago

Hi,

When running ninja -j3 install -C build-dir, the following error was raised:

dolfinx_mpc/cpp/assemble_utils.cpp:22:24: error: ‘find’ is not a member of ‘std’

I fixed that by adding #include <algorithm> in that file. Am I the only one who needed to add this include? Maybe it would be worth adding it for everyone.

Best,

Lucas

drew-parsons commented 10 months ago

Affects debian builds too (dolfinx-mpc 0.7.0).

jorgensd commented 10 months ago

Ok, Lets add it in (i Guess i Need some post releases)

jorgensd commented 10 months ago

Post release has been added (v0.7.0.post0) with the fix included