InterpBilinear Unexplained Bug

InterpBilinear Unexplained Bug - InterpBilinear Unexplained Bug - Сообщения

#1 Опубликовано: 05.07.2019 19:25:51
Jean Giraud

Jean Giraud

983 сообщений из 6866 понравились пользователям.

Группа: User

InterBilinearBug.PNG

Bug InterpBilinear.sm (24 КиБ) скачан 31 раз(а).
#2 Опубликовано: 06.07.2019 11:19:46
Davide Carpi

Davide Carpi

1415 сообщений из 2872 понравились пользователям.

Группа: 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 КиБ) скачан 49 раз(а).

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
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений