previously the code in add_batch() would fail with weird error if the number of leftover calls/iterations were zero. Now there is an exception
previously the code in add_batch() would fail with weird error if the
number of leftover calls/iterations were zero. Now there is an exception

joshspeagle/dynesty