Error in reduction

Last line empty