Skip to content

Commit

Permalink
remove obsolete includes and add missing template arguments (to satis…
Browse files Browse the repository at this point in the history
…fy github)
  • Loading branch information
lschneiderbauer committed Jan 1, 2024
1 parent 6dc4316 commit 250fa35
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/distmat.cpp
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
#include "distmat.h"
#include <stdint.h>
#include <cmath>
#include <stdio.h>

template <class T>
distmat<T>::distmat(int size, T def)
{
m_size = size;
data = std::vector(size * (size - 1) / 2, def);
data = std::vector<T>(size * (size - 1) / 2, def);
}

template <class T>
Expand Down

0 comments on commit 250fa35

Please sign in to comment.