Skip to content
GitLab
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
9d66a8d1
Commit
9d66a8d1
authored
May 25, 2017
by
James Willis
Browse files
Set the value of h_max correctly.
parent
0c4ceb01
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/test27cells.c
View file @
9d66a8d1
...
...
@@ -156,7 +156,7 @@ struct cell *make_cell(size_t n, double *offset, double size, double h,
/* Cell properties */
cell
->
split
=
0
;
cell
->
h_max
=
h
;
cell
->
h_max
=
size
*
h
/
(
float
)
n
;
cell
->
count
=
count
;
cell
->
dx_max_part
=
0
.;
cell
->
dx_max_sort
=
0
.;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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