On Mar 12, 5:39 pm, stefan <stejane...@gmail.com> wrote:
> I have encountered a somewhat strange problem ...

Ah, I got it, the max function is evaluated during the definition of
the function, look:

sage: fermi(x,y,d,L) = 1 - 1/( exp( ( max(abs(x),abs(y))-L) /d)  + 1)
sage: fermi
(x, y, d, L) |--> -1/(e^(-(L - abs(x))/d) + 1) + 1

especially:
sage: max(abs(x),abs(y))
abs(x)

There is no y any more!

H

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to