Skip to content

Commit c7b2ea8

Browse files
committed
KerrSchildX: Remove debug assert
1 parent 03e0b38 commit c7b2ea8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

KerrSchildX/src/kerrschild.cxx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -337,8 +337,7 @@ extern "C" void KerrSchild_InitialData(CCTK_ARGUMENTS) {
337337
if (write_lapse) {
338338
// Calculate lapse from the upper metric
339339
alp_(p.I) = 1 / sqrt(-gutt);
340-
} else
341-
assert(0);
340+
}
342341
if (write_shift) {
343342
// Calculate shift from the upper metric
344343
betax_(p.I) = -gutx / gutt;

0 commit comments

Comments
 (0)