Hi Burcin, I found a work around in my case:
model_sol1_l=lambda x:exp(x)**sol1_l[a]*exp(sol1_l[b]) instead of >model_sol1_l(I)=model_exp.subs(sol1_l) Then it is at least possible to call the function, but the arguments have to be of real type or floats <type 'sage.rings.real_mpfr.RealLiteral'> Greets and thanks, Stefan On Oct 22, 10:37 am, Burcin Erocal <bur...@erocal.org> wrote: > Hi Stefan, > > On Wed, 21 Oct 2009 19:49:58 -0700 (PDT) > > > > Ichnich <warm...@web.de> wrote: > > > Hi, > > > something does not work anymore in my notebook (with version 4.1.2 > > ubuntu 64bit): > > > var('a,b,c,I') > > model(I)=a*I+b > > model_exp = exp(I)**a*(b) > > sol1_l={b: 5.0, a: 1.1} > > model_sol1_l(I)=model_exp.subs(sol1_l) > > > The notebook hangs-up. It's critical on the parameter a, if you change > > it to 1.0 it's o.k. > > Thank you for the report. I can confirm that this causes a crash in > 4.1.2: > > sage: var('a,b,c,I') > (a, b, c, I) > sage: model_exp = exp(I)**a*(b) > sage: sol1_l={b: 5.0, a: 1.1} > sage: model_exp.subs(sol1_l) > /home/burcin/sage/sage-4.1.2/local/bin/sage-sage: line 203: 23916 > Segmentation fault sage-ipython "$@" -i > > Unfortunately, I can't find a workaround now. I opened a ticket: > > http://trac.sagemath.org/sage_trac/ticket/7264 > > I will work on a fix as soon as I find the time. > > Cheers, > Burcin --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---