Effects of an Error in Valuing Ending Inventory