small bug in precomputer.py