issue with user defined diff

issue with user defined diff - [not a bug] - Сообщения

#1 Опубликовано: 29.01.2018 16:41:29
Jean Giraud

Jean Giraud

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

Группа: User

Copy this section, paste in 6484 ... turns read.
Don't understand error message ?

Bug 6484.sm (10 КиБ) скачан 39 раз(а).
#2 Опубликовано: 29.01.2018 21:05:52
Jean Giraud

Jean Giraud

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

Группа: User

... not a bug wrt the construction.
Simply, it creates "shadow in the context" past some of the Alvaro coolprop.
It works at top of the work sheet. Whatever: can't understand the error message.
#3 Опубликовано: 30.01.2018 02:34:50
Radovan Omorjan

Radovan Omorjan

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

Группа: Moderator

Wrote

... not a bug wrt the construction.
Simply, it creates "shadow in the context" past some of the Alvaro coolprop.
It works at top of the work sheet. Whatever: can't understand the error message.



Sorry Jean, I do not quite understand your point. The picture of regions with the error are out of the context. What was the value of object "f" and "g" prior the error messages? The same name "f" can have a variable "f" or a function "f(x)" and they can exist both. Maybe there might be a problem.

Regards,
Radovan
When Sisyphus climbed to the top of a hill, they said: "Wrong boulder!"
#4 Опубликовано: 30.01.2018 10:51:07
Jean Giraud

Jean Giraud

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

Группа: User

Wrote

Sorry Jean, I do not quite understand your point. The picture of regions with the error are out of the context. What was the value of object "f" and "g" prior the error messages? The same name "f" can have a variable "f" or a function "f(x)" and they can exist both. Maybe there might be a problem.

Regards,
Radovan



Within the CoolProp context, f & g may have relationship with their respective

f(T,v) Helmholtz free energy equation,
g(T,p) Gibbs free energy equation

It works at top of the work sheet, but not within the context: shadow in the context.

Thanks Radovan.

Maths CoolProp Alvaro.sm (61 КиБ) скачан 37 раз(а).

2 пользователям понравился этот пост
Davide Carpi 30.01.2018 11:05:00, Radovan Omorjan 31.01.2018 02:48:00
#5 Опубликовано: 30.01.2018 11:04:41
Davide Carpi

Davide Carpi

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

Группа: Moderator

Ah, now I see it...

seems related to the fact that the diff function is overridden in amid of the worksheet (see Ndiff, Nint collapsed area)... the unapply() function makes anything (even numbers) as functions, must be improved a little
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
1 пользователям понравился этот пост
Radovan Omorjan 31.01.2018 02:48:00
  • Новые сообщения Новые сообщения
  • Нет новых сообщений Нет новых сообщений