Load N sequences in Mussa::load
authorBrandon King <kingb@caltech.edu>
Wed, 18 Apr 2007 00:01:36 +0000 (00:01 +0000)
committerBrandon King <kingb@caltech.edu>
Wed, 18 Apr 2007 00:01:36 +0000 (00:01 +0000)
commit02adcab9918657891638e68580b8b88e6d935875
tree7f6b11303c3fbda7efa221e08ff2c057b92b7558
parent7d16486e23b3d94c49986b082b9de1b508fd6183
Load N sequences in Mussa::load

Fix for ticket:240.

Mussa would not load the sequences because the .muway file would
declare that 0 sequences existed. Since the Mussa:load code needed to
know the number of sequences to load the sequences, it failed.

The new version of the load sequence code, reads the sequences in
until there are no longer any sequences to read. At that point, the
number of sequences is the_seqs.size() and therefore is no longer
dependant on the muway file.
alg/mussa.cpp
alg/sequence.cpp
alg/sequence.hpp