WASHINGTON — A unanimous U.S. Supreme Court, in a warning shot to those who bring frivolous patent infringement suits, on Tuesday eased the standard for awarding attorney fees in patent cases.

In two separate decisions, the justices rejected the approach of the U.S. Court of Appeals for the Federal Circuit which, they held, was “unduly rigid” and restrictive of the discretion granted to district courts.