Skip to content
Snippets Groups Projects
Commit 106a55d2 authored by Tammo Jan Dijkema's avatar Tammo Jan Dijkema
Browse files

Change too modern C++ feature to equivalent code

parent b427f307
No related branches found
No related tags found
1 merge request!4Oskar
...@@ -97,9 +97,8 @@ const vector3r_t &Station::phaseReference() const ...@@ -97,9 +97,8 @@ const vector3r_t &Station::phaseReference() const
matrix22c_t Station::elementResponse(real_t time, real_t freq, matrix22c_t Station::elementResponse(real_t time, real_t freq,
const vector3r_t &direction, size_t id, const bool rotate) const const vector3r_t &direction, size_t id, const bool rotate) const
{ {
Antenna::Options options = { Antenna::Options options;
.rotate = rotate options.rotate = rotate;
};
if (rotate) { if (rotate) {
vector3r_t ncp_ = ncp(time); vector3r_t ncp_ = ncp(time);
......
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