Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
a7c6e264
Commit
a7c6e264
authored
Jul 06, 2012
by
Mathias Goldau
Browse files
[FIX] Good news Openwalnut is compiling again under MAC OSX.
parent
68817bf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/core/dataHandler/WGridRegular3D.h
src/core/dataHandler/WGridRegular3D.h
+1
-1
No files found.
src/core/dataHandler/WGridRegular3D.h
View file @
a7c6e264
...
...
@@ -764,7 +764,7 @@ inline size_t WGridRegular3DTemplate< T >::getCellId( const WGridRegular3DTempla
template
<
typename
T
>
inline
typename
WGridRegular3DTemplate
<
T
>::
CellVertexArray
WGridRegular3DTemplate
<
T
>::
getCellVertexIds
(
size_t
cellId
)
const
{
WGridRegular3DTemplate
<
T
>::
CellVertexArray
vertices
;
typename
WGridRegular3DTemplate
<
T
>::
CellVertexArray
vertices
;
size_t
minVertexIdZ
=
cellId
/
(
(
m_nbPosX
-
1
)
*
(
m_nbPosY
-
1
)
);
size_t
remainderXY
=
cellId
-
minVertexIdZ
*
(
(
m_nbPosX
-
1
)
*
(
m_nbPosY
-
1
)
);
size_t
minVertexIdY
=
remainderXY
/
(
m_nbPosX
-
1
);
...
...
Write
Preview
Markdown
is supported
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