Morpho-lang / morpho

The Morpho language 🦋. Morpho is a small embeddable language for scientific computing applications.
MIT License
30 stars 10 forks source link

[Bug] area_enclosed 2D gradient in functional.c #227

Open ancaandrei opened 1 year ago

ancaandrei commented 1 year ago

Describe the bug The 2D area_enclosed gradient, not numerical gradient, is wrong.

To Reproduce The area_enclosed gradient function is defined in functional.c

Expected behavior The gradient should have cases like the 3D case.

Screenshots n/a

Additional context n/a

softmattertheory commented 1 year ago

Can you provide a minimal example, @ancaandrei? This would really help us understand the bug.