Skip to content
Snippets Groups Projects
Commit 465ecf0d authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

Correct gross error: getImag returned real part.

parent efc04100
No related branches found
No related tags found
No related merge requests found
......@@ -180,7 +180,7 @@ OutputData<double>* OutputDataFunctions::getImagPart(
OutputData<complex_t>::const_iterator it_source = source.begin();
OutputData<double>::iterator it_result = p_result->begin();
while (it_source != source.end()) {
*it_result = it_source->real();
*it_result = it_source->imag();
++it_source, ++it_result;
}
return p_result;
......
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