Morpho-lang / morpho

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

ScalarPotential Help Documentation out of date #229

Closed Craftyleosteel closed 1 year ago

Craftyleosteel commented 1 year ago

Describe the bug Inaccurate description of ScalarPotential in the documentation. Now, ScalarPotential can be initialized without gradient and can be done only with a function. ScalarPotential then numerically calculates the gradient (check #84). However, the help says it requires two functions

softmattertheory commented 1 year ago

Thanks for this feedback, @Craftyleosteel; I'll update the documentation.

softmattertheory commented 1 year ago

I've now updated the documentation and the correct specification for ScalarPotential is fixed by #232 and will be available in 0.5.7. Thanks again @Craftyleosteel