llvm.org GIT mirror llvm / 154cb19
Fix typo in assert message. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236513 91177308-0d34-0410-b5e6-96231b3b80d8 Diego Novillo 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
3030
3131 public:
3232 BranchProbability(uint32_t n, uint32_t d) : N(n), D(d) {
33 assert(d > 0 && "Denomiator cannot be 0!");
33 assert(d > 0 && "Denominator cannot be 0!");
3434 assert(n <= d && "Probability cannot be bigger than 1!");
3535 }
3636