Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
4db717a9
Commit
4db717a9
authored
Apr 26, 2017
by
Matthieu Schaller
Browse files
Removed too agressive debugging check
parent
7544e7ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cell.c
View file @
4db717a9
...
...
@@ -1494,11 +1494,6 @@ void cell_drift_particles(struct cell *c, const struct engine *e) {
struct
part
*
const
p
=
&
parts
[
k
];
struct
xpart
*
const
xp
=
&
xparts
[
k
];
#ifdef SWIFT_DEBUG_CHECKS
if
(
p
->
density
.
wcount
==
0
.)
error
(
"Attempting to drift a particle that has been initialised"
);
#endif
/* Drift... */
drift_part
(
p
,
xp
,
dt
,
timeBase
,
ti_old
,
ti_current
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment