Skip to content
Snippets Groups Projects
Commit 9ecddb13 authored by Alex Buts's avatar Alex Buts
Browse files

refs #3925 fixing unix warnings

parent ffc8b0d5
No related merge requests found
...@@ -221,6 +221,8 @@ void ConvertToQNDany::exec(){ ...@@ -221,6 +221,8 @@ void ConvertToQNDany::exec(){
std::vector<std::string> dim_selected; std::vector<std::string> dim_selected;
known_algorithms algo_id = identify_requested_alg(dim_names_availible, Q_dim_requested,other_dim,n_activated_dimensions); known_algorithms algo_id = identify_requested_alg(dim_names_availible, Q_dim_requested,other_dim,n_activated_dimensions);
// call selected algorithm.
alg_selector[algo_id](this);
return; return;
} }
......
...@@ -212,7 +212,8 @@ void testFuncSelector() ...@@ -212,7 +212,8 @@ void testFuncSelector()
void testExecSelection() void testExecSelection()
{ {
TS_ASSERT_THROWS_NOTHING(pAlg->execute()); pAlg->setRethrows(true);
TS_ASSERT_THROWS(pAlg->execute(),Kernel::Exception::NotImplementedError);
} }
......
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