diff options
| author | gingerBill <bill@gingerbill.org> | 2018-08-26 10:56:33 +0100 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2018-08-26 10:56:33 +0100 |
| commit | a6b0ae71b2795948976c74ca1e8fbf480b731f89 (patch) | |
| tree | e51ad4c1f5260e26d4be322238c415f6d991bfe3 /src | |
| parent | 3365baee8f97bcabe462e4a6d0f46a76dd1ce7b3 (diff) | |
Remove assert
Diffstat (limited to 'src')
| -rw-r--r-- | src/check_expr.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 6e743e3ca..bf9de13e7 100644 --- a/src/check_expr.cpp +++ b/src/check_expr.cpp @@ -603,7 +603,6 @@ i64 assign_score_function(i64 distance, bool is_variadic=false) { i64 const c = 3*MAXIMUM_TYPE_DISTANCE*MAXIMUM_TYPE_DISTANCE + 1; // TODO(bill): A decent score function - GB_ASSERT(distance <= MAXIMUM_TYPE_DISTANCE); i64 d = distance*distance; // x^2 if (is_variadic && d >= 0) { d += distance + 1; // x^2 + x + 1 |