Skip to content
Browse files

Fix wiggleLiftover on extremely small genomes

  • Loading branch information...
1 parent bba26fe commit a65aaf48a972254a321328a22cdd91bf065de3bf @joelarmstrong joelarmstrong committed Nov 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 liftover/inc/halWiggleTiles.h
View
2 liftover/inc/halWiggleTiles.h
@@ -85,7 +85,7 @@ inline void WiggleTiles<T>::init(hal_size_t genomeSize, T defaultValue,
_defaultValue = defaultValue;
_tileSize = std::min(tileSize, genomeSize);
_lastTileSize = genomeSize % _tileSize;
- hal_size_t numTiles = genomeSize / tileSize;
+ hal_size_t numTiles = genomeSize / _tileSize;
if (_lastTileSize > 0)
{
++numTiles;

0 comments on commit a65aaf4

Please sign in to comment.
Something went wrong with that request. Please try again.