Occasional errors in fields::process_incoming_chunk_data
from multiplying two std::complex<realnum>
numbers
#2611
Labels
fields::process_incoming_chunk_data
from multiplying two std::complex<realnum>
numbers
#2611
Occasionally, I detect errors in the unit test
python/tests/test_refl_angular.py
which is traced to line 190 offields::process_incoming_chunk_data
involving the multiplication of two complex numbers:meep/src/step.cpp
Lines 172 to 196 in dad3e52
The problem, I suspect, is actually in the call to
reinterpret_cast
which is supposed to convertconst realnum
toconst std::complex<realnum>
and then use the result in the multiplication on line 190:meep/src/step.cpp
Lines 182 to 183 in dad3e52
A snippet of the stack trace shows where the error is triggered:
The text was updated successfully, but these errors were encountered: