InterpBilinear Unexplained Bug

InterpBilinear Unexplained Bug - InterpBilinear Unexplained Bug - Mensajes

#1 Publicado: 5/7/2019 19:25:51
Jean Giraud

Jean Giraud

983 me gusta en 6.866 mensajes.

Grupo: User

InterBilinearBug.PNG

Bug InterpBilinear.sm (24,88 KiB) descargado 1418 vez(es).
#2 Publicado: 6/7/2019 11:19:46
Davide Carpi

Davide Carpi

1.443 me gusta en 2.936 mensajes.

Grupo: 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) descargado 1400 vez(es).

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
  • Nuevos mensajes
  • Sin mensajes nuevos