#include "distancedb.hpp"
#include "onegapignore.h"
+
+/**************************************************************************************************/
+DistanceDB::DistanceDB(const DistanceDB& ddb) : data(ddb.data), templateSeqsLength(ddb.templateSeqsLength), templateAligned(ddb.templateAligned), Database(ddb) {
+ distCalculator = new oneGapIgnoreTermGapDist();
+}
/**************************************************************************************************/
-DistanceDB::DistanceDB() {
+DistanceDB::DistanceDB() : Database() {
try {
templateAligned = true;
templateSeqsLength = 0;