Update lcm.py

int -> np.floor