Attached program works with callback = GSL_FUNCTION(self.f) set_with_values(mnzr,callback,xn,fn,xLB,fLB,xUB,fUB)
But core dumps with set_with_values(mnzr,GSL_FUNCTION(self.f),xn,fn,xLB,fLB,xUB,fUB) I do not understand the difference. Must be one of these possibilities: 1) Python3rc1+ is broken, or I don't understand it. 2) ctypes is broken, or I misunderstand. 3) My system---linux on 64 bit opteron---has installation sickness. 4) The actual cause. Source attached. You'll possibly need to modify the code that loads gsl.so's. If it's a python problem, you should know of it. If it's my problem---I've found the work 'round but I'd like to understand. Thanks! Dave.
dump.py
Description: dump.py
_______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com