mumax / 3

GPU-accelerated micromagnetic simulator
Other
447 stars 150 forks source link

Minor typo in API for sinc function- says return 0 if x=0 #308

Closed JLauzier closed 2 years ago

JLauzier commented 2 years ago

Hello,

There is a small typo in the API description for the sinc function

"Sinc returns sin(x)/x. If x=0, then Sinc(x) returns 0."

Should be

"Sinc returns sin(x)/x. If x=0, then Sinc(x) returns 1."

It's correct in the internal mumax documentation/implementation, just a minor (and obvious) typo on the API page.

JLeliaert commented 2 years ago

Fixed