Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Julia
Nektar
Commits
4cfe42e3
Commit
4cfe42e3
authored
Apr 08, 2017
by
Spencer Sherwin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Seeing if using namespace rather than std::max sorts out windows error
parent
95dac78a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
library/LibUtilities/BasicUtils/ShapeType.hpp
library/LibUtilities/BasicUtils/ShapeType.hpp
+3
-1
No files found.
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
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