Flat earth was assumed back then to simplify the calcuations. Back then, all calculations were done by hand. Adding the spherical aspect of the real world would have made the calculations overwhelmingly complex. The flat earth assumption yielded results that were close enough to be practical, but the warning was given none the less.