diff --git a/src/main/java/org/mastodon/mamut/model/SpotPool.java b/src/main/java/org/mastodon/mamut/model/SpotPool.java index 8e3a3c775..3e4af58fe 100644 --- a/src/main/java/org/mastodon/mamut/model/SpotPool.java +++ b/src/main/java/org/mastodon/mamut/model/SpotPool.java @@ -31,7 +31,7 @@ import org.mastodon.model.AbstractSpotPool; import org.mastodon.pool.ByteMappedElement; import org.mastodon.pool.ByteMappedElementArray; -import org.mastodon.pool.SingleArrayMemPool; +import org.mastodon.pool.MultiArrayMemPool; import org.mastodon.pool.attributes.DoubleArrayAttribute; import org.mastodon.pool.attributes.DoubleAttribute; import org.mastodon.properties.ObjPropertyMap; @@ -62,7 +62,7 @@ public SpotLayout() SpotPool( final int initialCapacity ) { - super( initialCapacity, layout, Spot.class, SingleArrayMemPool.factory( ByteMappedElementArray.factory ) ); + super( initialCapacity, layout, Spot.class, MultiArrayMemPool.factory( ByteMappedElementArray.factory ) ); label = new ObjPropertyMap<>( this ); registerPropertyMap( label ); }