Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
amdis
amdis-core
Commits
22076b82
Commit
22076b82
authored
May 03, 2019
by
Praetorius, Simon
Browse files
use new environment class
parent
c5c62221
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/AccessTest.cpp
View file @
22076b82
...
...
@@ -53,7 +53,7 @@ struct NotAccessible {};
int
main
(
int
argc
,
char
**
argv
)
{
AMDiS
::
init
(
argc
,
argv
);
Environment
env
(
argc
,
argv
);
Vec1
vec1
;
Vec2
vec2
;
...
...
@@ -102,6 +102,5 @@ int main(int argc, char** argv)
static_assert
(
not
Concepts
::
VectorAccessible_t
<
NotAccessible
,
std
::
size_t
>::
value
,
""
);
static_assert
(
not
Concepts
::
MatrixAccessible_t
<
NotAccessible
,
std
::
size_t
,
std
::
size_t
>::
value
,
""
);
AMDiS
::
finalize
();
return
0
;
}
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