InterpBilinear Unexplained Bug

InterpBilinear Unexplained Bug - InterpBilinear Unexplained Bug - 消息

#1 已发布: 2019/7/5 19:25:51
Jean Giraud

Jean Giraud

983个赞,共6,866个帖子。

组: User

InterBilinearBug.PNG

Bug InterpBilinear.sm (24.88 KiB)已下载 1435 次。
#2 已发布: 2019/7/6 11:19:46
Davide Carpi

Davide Carpi

1,443个赞,共2,936个帖子。

组: Moderator

As I've stated in the other thread, there isn't a check on 4th and 5th arguments, that should be scalars.

The implementation is a 1:1 port of a code that was discussed here on the forum some time ago, not based on built-in linterp; here there is your example with the InterpBilinear function exposed in worksheet code (intBil).

InterpBilinear_debug.sm (21.64 KiB)已下载 1413 次。

Seems that a vector argument can fool my binary search function, that doesn't stop the wrong input and ends calculating wrong results.

P.S: I'll fix the plugin as soon as I can
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
  • 有新帖
  • 无新帖