Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions oskar/ms/src/oskar_ms_accessors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,12 +254,12 @@ void oskar_ms_set_element_coords(
// https://casacore.github.io/casacore-notes/264.pdf
Matrix<Bool> flags(
IPosition(2, num_elements, (p->num_pols == 4 ? 2 : 1)), false);
Matrix<Double> offset(IPosition(2, num_elements, 3));
Matrix<Double> offset(IPosition(2, 3, num_elements));
for (unsigned int i = 0; i < num_elements; ++i)
{
offset(i, 0) = x[i];
offset(i, 1) = y[i];
offset(i, 2) = z[i];
offset(0, i) = x[i];
offset(1, i) = y[i];
offset(2, i) = z[i];
}
antennaId.put(station, station);
position.put(station, pos);
Expand Down