Skip to content

Commit

Permalink
[INSTX-7139] Simplify an expression
Browse files Browse the repository at this point in the history
Spotted while looking around this code.
  • Loading branch information
blawrence-ont committed Oct 30, 2024
1 parent 6eda5bd commit 6d099c1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dorado/read_pipeline/BasecallerNode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,7 @@ void BasecallerNode::input_thread_fn() {

// Now that we have acquired a read, wait until we can push to chunks_in
// Chunk up the read and put the chunks into the pending chunk list.
size_t raw_size =
read_common_data.raw_data
.sizes()[read_common_data.raw_data.sizes().size() - 1]; // Time dimension.
size_t raw_size = read_common_data.raw_data.sizes().back(); // Time dimension.
size_t chunk_queue_idx = get_chunk_queue_idx(raw_size);
size_t chunk_size = m_chunk_sizes[chunk_queue_idx];

Expand Down

0 comments on commit 6d099c1

Please sign in to comment.