issue with user defined diff

issue with user defined diff - [not a bug] - Messages

#1 Posted: 7 years ago
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: User

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

Bug 6484.sm (10 KiB) downloaded 103 time(s).
#2 Posted: 7 years ago
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: 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 Posted: 7 years ago
Radovan Omorjan

Radovan Omorjan

325 likes and 1 dislikes in 2,052 posts.

Group: 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 Posted: 7 years ago
Jean Giraud

Jean Giraud

983 likes in 6,866 posts.

Group: 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 KiB) downloaded 105 time(s).

2 users liked this post
Davide Carpi 7 years ago, Radovan Omorjan 7 years ago
#5 Posted: 7 years ago
Davide Carpi

Davide Carpi

1,418 likes in 2,874 posts.

Group: 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 users liked this post
Radovan Omorjan 7 years ago
  • New Posts New Posts
  • No New Posts No New Posts