Opened 4 years ago
Closed 4 years ago
#1197 closed defect (fixed)
Order of operations in Eq 251
Reported by: | bheng | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | |
Component: | spec | Version: | VVC D10 vA |
Keywords: | Cc: | ksuehring, bbross, XiangLi, fbossen, jvet@… |
Description
I believe Eq 251 will yield an unintended result due to the order of operations of the "x ? y : z" operator.
inSize = ( 2 * boundarySize ) − ( mipSizeId = = 2 ) ? 1 : 0
Probably an extra parenthesis is needed.
inSize = ( 2 * boundarySize ) − (( mipSizeId = = 2 ) ? 1 : 0)
Change history (1)
comment:1 Changed 4 years ago by jlchen
- Resolution set to fixed
- Status changed from new to closed
Note: See TracTickets for help on using tickets.
Really good catch! This will be fixed as suggested in vE release.