[gecode-users] Space val method causes python to crash

Blockheads Oi Oi breamoreboy at yahoo.co.uk
Sun Jan 29 09:44:44 CET 2012


Hi all,

The subject is easy enough to reproduce, FWIW I'm on Windows Vista.

c:\Users\Mark\Python>python -V
Python 2.7.1

c:\Users\Mark\Python>type a.py
from gecode import *
s = space()
cell = s.intvar(1, 9)
print s.assigned(cell)
s.val(cell)
c:\Users\Mark\Python>python a.py
False

This application has requested the Runtime to terminate it in an unusual 
way.
Please contact the application's support team for more information.

Have I misunderstood the way that val is called and/or used or is this a 
genuine problem?

-- 
Cheers.

Mark Lawrence.




More information about the users mailing list