issue with user defined diff

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

#1 Posted: 1/29/2018 4:41:29 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

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

Bug 6484.sm (10 KiB) downloaded 43 time(s).
#2 Posted: 1/29/2018 9:05:52 PM
Jean Giraud

Jean Giraud

983 likes in 6866 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: 1/30/2018 2:34:50 AM
Radovan Omorjan

Radovan Omorjan

325 likes in 2052 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: 1/30/2018 10:51:07 AM
Jean Giraud

Jean Giraud

983 likes in 6866 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 41 time(s).

2 users liked this post
Davide Carpi 1/30/2018 11:05:00 AM, Radovan Omorjan 1/31/2018 2:48:00 AM
#5 Posted: 1/30/2018 11:04:41 AM
Davide Carpi

Davide Carpi

1416 likes in 2873 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 1/31/2018 2:48:00 AM
  • New Posts New Posts
  • No New Posts No New Posts