}
if(state != 1) {
throw new AbortException("Mixing dense and sparse vectors is currently not allowed.");
}
// Load a dense instance
bundle.appendSimple(loadDenseInstance(tokenizer, dimsize, elkitypes, bundle.metaLength()));
}
else {
if(state == 0) {
setupBundleHeaders(names, targ, elkitypes, dimsize, bundle, true);
state = 2; // dense