Skip to content

Commit

Permalink
Hard-code all weights to be 1.0
Browse files Browse the repository at this point in the history
I'm not entirely sure why, but incoming weights are ignored and
all output weights are 0.0.
  • Loading branch information
cjordan committed Sep 21, 2023
1 parent 7e7af13 commit 93b1ae5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/io/uvfits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1018,6 +1018,7 @@ impl VisWrite for UvfitsWriter {
.for_each(|(vis_chunk_element, vis)| {
*vis_chunk_element = vis;
});
vis_chunk[2] = 1.0;
}

Self::write_vis_row_inner(self.fptr, &mut self.current_num_rows, &mut self.buffer)?;
Expand Down

0 comments on commit 93b1ae5

Please sign in to comment.