Skip to content
Snippets Groups Projects
Commit 5d182e8f authored by Carsten Gräser's avatar Carsten Gräser
Browse files

[test] Test assignment of MultiTypeBlockVector from scalar

parent fe0be116
No related branches found
No related tags found
No related merge requests found
......@@ -60,6 +60,11 @@ int main(int argc, char** argv) try
multiVector2 *= (int)2;
multiVector2 *= (float)0.5;
// Test assignment from scalar
multiVector2 = (double)0.5;
multiVector2 = (int)2;
multiVector2 = (float)0.5;
// Test axpy
multiVector2.axpy(-1, multiVector);
......@@ -93,4 +98,4 @@ catch (std::exception& e)
{
std::cerr << "Unknown exception encountered!" << std::endl;
return 3;
}
\ No newline at end of file
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment