Amending return (completed by CPA but w/ errors) that has a foreign tax credit - issue is amount on line of 18 of form 1118 isn't equal to line 15 of the 1040 - why not?

Over 1/3 of total income is from dividends and all foreign income is "passive" - Form 1118 is required because foreign tax is more than $300 for a single person