if (channelVectors != null) {
for (Map.Entry<Symbol, MutableSparseVector> entry : channelVectors.entrySet()) {
Symbol key = entry.getKey();
MutableSparseVector msv = entry.getValue().copy();
newChanVectors.put(key, msv);
newChannels.put(key.withType(Double.class), new MutableSparseVectorMap(msv));
}
}
// copy all remaining channels into the channel map
if (channels != null) {
for (Entry<TypedSymbol<?>, Long2ObjectMap<?>> entry : channels.entrySet()) {