clawpack / pyclaw

PyClaw is a Python-based interface to the algorithms of Clawpack and SharpClaw. It also contains the PetClaw package, which adds parallelism through PETSc.
http://www.clawpack.com/pyclaw
BSD 3-Clause "New" or "Revised" License
157 stars 98 forks source link

Get rid of some compile-time warnings. #712

Closed ketch closed 4 months ago

ketch commented 11 months ago

Avoid static array size in SW sphere example. Update use of numpy C API in weno code.

ketch commented 11 months ago

Thanks to Lisandro Dalcin for contributing this patch, which removes several warnings that were being raised at compile time.

rgommers commented 4 months ago

Merging this PR seems useful and fairly urgent, since a lot of direct field access in reconstruct.c is going to break when NumPy 2.0 is released (probably within the next month). Is there a reason that this can't be merged?

ketch commented 4 months ago

Thanks for the reminder! I had forgotten about it...