Hi. Here two programs. dif1 return 0 for list1 and working well for list2, dif2 return the rigth answer, but if you change table argument x to y on line 12, then get segmentation fault. What should i do?
On Sun, 01 Mar 2015 10:06:42 -0500, soppon <gvitbsord@aol.com> said:
soppon> Hi. Here two programs. dif1 return 0 for list1 and working soppon> well for list2, dif2 return the rigth answer, but if you soppon> change table argument x to y on line 12, then get soppon> segmentation fault. What should i do? Read GiNaC manual, e.g. "5.15.2 Expression input". A symbol may be represented by the string "x" but be different from from symbol x. -- Vladimir V. Kisil http://www.maths.leeds.ac.uk/~kisilv/ Book: Geometry of Mobius Transformations http://goo.gl/EaG2Vu Software: Geometry of cycles http://moebinv.sourceforge.net/
participants (2)
-
soppon
-
Vladimir V. Kisil