Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nektar
Nektar
Commits
4cfe42e3
Commit
4cfe42e3
authored
Apr 08, 2017
by
Spencer Sherwin
Browse files
Seeing if using namespace rather than std::max sorts out windows error
parent
95dac78a
Changes
1
Hide whitespace changes
Inline
Side-by-side
library/LibUtilities/BasicUtils/ShapeType.hpp
View file @
4cfe42e3
...
...
@@ -43,6 +43,8 @@
#undef min
#endif
using
namespace
std
;
namespace
Nektar
{
namespace
LibUtilities
...
...
@@ -247,7 +249,7 @@ namespace Nektar
{
for
(
int
b
=
0
;
b
<
Nb
;
++
b
)
{
for
(
int
c
=
0
;
c
<
Nc
-
std
::
max
(
a
,
b
);
++
c
)
for
(
int
c
=
0
;
c
<
Nc
-
max
(
a
,
b
);
++
c
)
{
++
nCoeff
;
}
...
...
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