Commit 246c2e83 authored by Andrew Waterman's avatar Andrew Waterman Committed by Jack Koenig
Browse files

Correct Fill's exception behavior; avoid log2Up

It always should throw an exception when n < 0, but in the specific
case of x.isWidthKnown && x.getWidth == 1, it failed to do so.

This commit also changes log2Up in log2Ceil, which has no effect,
since the argument is always at least 2.
parent 3e6ef13f
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment