diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2025-07-28 13:52:00 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2025-07-28 13:52:00 +0200 |
| commit | 7f24b27652ee6fa84e38f181cea57f319af0c204 (patch) | |
| tree | 269b15baf20c2ae4ed3bb1fdb052340311aa1981 /src/arch/coordinates_unoptimized.h | |
| parent | 9b248f3b46d5dc0e9522ed264ef71e422a5bc5a5 (diff) | |
| download | nissy-core-7f24b27652ee6fa84e38f181cea57f319af0c204.tar.gz nissy-core-7f24b27652ee6fa84e38f181cea57f319af0c204.zip | |
Make failed assert exit immediately
Diffstat (limited to 'src/arch/coordinates_unoptimized.h')
| -rw-r--r-- | src/arch/coordinates_unoptimized.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/arch/coordinates_unoptimized.h b/src/arch/coordinates_unoptimized.h index c553b2b..de76018 100644 --- a/src/arch/coordinates_unoptimized.h +++ b/src/arch/coordinates_unoptimized.h | |||
| @@ -34,8 +34,6 @@ coord_epud(cube_t cube) | |||
| 34 | uint8_t c[8], e[12]; | 34 | uint8_t c[8], e[12]; |
| 35 | 35 | ||
| 36 | pieces(&cube, c, e); | 36 | pieces(&cube, c, e); |
| 37 | DBG_ASSERT(isperm(8, e), -1, | ||
| 38 | "Cannot compute epud coordinate: edges not separated"); | ||
| 39 | 37 | ||
| 40 | for (i = 0; i < 8; i++) | 38 | for (i = 0; i < 8; i++) |
| 41 | e[i] &= PBITS; | 39 | e[i] &= PBITS; |
