Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_data
Commits
3469bff0
Commit
3469bff0
authored
Dec 15, 2017
by
incardon
Browse files
Fixing elimination of scalar from SE_CLASS test
parent
81850794
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/Vector/vector_unit_tests.hpp
View file @
3469bff0
...
...
@@ -481,9 +481,9 @@ BOOST_AUTO_TEST_CASE( vector_load_and_save_check )
#ifdef SE_CLASS2
openfpm
::
vector
<
scalar
<
float
>>
&
test_error_v
()
openfpm
::
vector
<
aggregate
<
float
>>
&
test_error_v
()
{
openfpm
::
vector
<
scalar
<
float
>>
v
(
16
);
openfpm
::
vector
<
aggregate
<
float
>>
v
(
16
);
return
v
;
}
...
...
@@ -573,7 +573,7 @@ BOOST_AUTO_TEST_CASE( vector_safety_check )
// Create a vector
openfpm
::
vector
<
scalar
<
float
>>
*
v3
=
new
openfpm
::
vector
<
scalar
<
float
>>
(
16
);
openfpm
::
vector
<
aggregate
<
float
>>
*
v3
=
new
openfpm
::
vector
<
aggregate
<
float
>>
(
16
);
delete
v3
;
// Try to access the class
...
...
@@ -589,7 +589,7 @@ BOOST_AUTO_TEST_CASE( vector_safety_check )
try
{
openfpm
::
vector
<
scalar
<
float
>>
vr
=
test_error_v
();
openfpm
::
vector
<
aggregate
<
float
>>
vr
=
test_error_v
();
}
catch
(
std
::
exception
&
e
)
{
...
...
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