Skip to content
Snippets Groups Projects

Fix (possible) segfaults throughout code in kernel calls

Merged Josh Borrow requested to merge fix_black_hole_segfault_crash into master
1 unresolved thread
16 files
+ 113
78
Compare changes
  • Side-by-side
  • Inline
Files
16
@@ -247,12 +247,13 @@ __attribute__((always_inline)) INLINE static void black_holes_prepare_feedback(
* @param props The properties of the black hole scheme.
* @param constants The physical constants (in internal units).
* @param cosmo The cosmological model.
* @param dt The time-step size (in physical internal units).
* @param dt The black hole particle's time step.
* @param ti_begin The time at the start of the temp
*/
__attribute__((always_inline)) INLINE static void black_holes_end_reposition(
struct bpart* restrict bp, const struct black_holes_props* props,
const struct phys_const* constants, const struct cosmology* cosmo,
const double dt) {}
const double dt, const integertime_t ti_begin) {}
/**
* @brief Reset acceleration fields of a particle
Loading