Skip to content

Commit

Permalink
Update vlbi_set_baseline_buffer
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Platone committed Mar 2, 2022
1 parent 6b79e71 commit 4a7bc8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vlbi/stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,8 @@ void vlbi_set_baseline_buffer(void *ctx, const char *node1, const char *node2, f
sprintf(name, "%s_%s", node1, node2);
VLBIBaseline *b = nodes->getBaselines()->Get(name);
dsp_stream_set_dim(b->getStream(), 0, len);
dsp_stream_alloc_buffer(b->getStream(), b->getStream()->len);
dsp_buffer_copy(((double*)buffer), b->getStream()->dft.buf, len);
dsp_stream_alloc_buffer(b->getStream(), len);
b->getStream()->dft.fftw = buffer;
dsp_fourier_2dsp(b->getStream());
b->Lock();
}
Expand Down

0 comments on commit 4a7bc8b

Please sign in to comment.