Correction of an error in U.S. stress tests has produced modest reductions in capital requirements for two big banks — Goldman Sachs Group, Inc. and Morgan Stanley.

The U.S. Federal Reserve Board released corrected stress test results due to an error in projected trading losses that impacted five major banks.

“The loss rates for certain public welfare investments made by large banks were initially miscalculated, resulting in an overestimation of hypothetical losses for those investments,” the Fed said.

Correcting the error resulted in tiny revisions to the common equity tier 1 capital requirements for Goldman Sachs and Morgan Stanley, to 13.6% from 13.7%, and to 13.2% from 13.4%, respectively.

The mistake had no impact on the capital requirements for the other three banks that were impacted — Citigroup Inc., HSBC North America Holdings Inc., and Wells Fargo & Co.

The Fed said that after finding the error, it reviewed its stress models and didn’t find any other implementation issues. It also adopted changes to prevent similar errors in the future.