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
mpim-sw
libcdi
Commits
86ee95ca
Commit
86ee95ca
authored
Apr 30, 2008
by
Uwe Schulzweida
Browse files
No commit message
No commit message
parent
b8aca083
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grid.c
View file @
86ee95ca
...
...
@@ -2104,7 +2104,8 @@ static void grid_check_cyclic(GRID *gridptr)
{
xinc
=
xvals
[
1
]
-
xvals
[
0
];
x0
=
2
*
xvals
[
xsize
-
1
]
-
xvals
[
xsize
-
2
]
-
360
;
if
(
DBL_IS_EQUAL
(
x0
,
xvals
[
0
])
)
gridptr
->
isCyclic
=
TRUE
;
if
(
!
DBL_IS_EQUAL
(
xvals
[
0
],
xvals
[
xsize
-
1
])
)
if
(
DBL_IS_EQUAL
(
x0
,
xvals
[
0
])
)
gridptr
->
isCyclic
=
TRUE
;
}
}
else
if
(
gridptr
->
type
==
GRID_CURVILINEAR
)
...
...
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