Browse code

empty constructors for python bindings

Jeanette Johnson authored on 05/10/2021 21:03:24
Showing 3 changed files

... ...
@@ -25,6 +25,7 @@ enum GapsAlgorithmPhase
25 25
 struct GapsParameters
26 26
 {
27 27
 public:
28
+    explicit GapsParameters();
28 29
     template <class DataType>
29 30
     explicit GapsParameters(const DataType &data, bool t_transposeData=false,
30 31
         bool t_subsetData=false, bool t_subsetGenes=false,
... ...
@@ -11,6 +11,8 @@ static std::string to_string(T a)
11 11
     return ss.str();
12 12
 }
13 13
 
14
+GapsResult::GapsResult(){}
15
+
14 16
 GapsResult::GapsResult(const GapsStatistics &stat)
15 17
     :
16 18
 Amean(stat.Amean()), Asd(stat.Asd()), Pmean(stat.Pmean()),
... ...
@@ -11,6 +11,7 @@ class GapsStatistics;
11 11
 
12 12
 struct GapsResult
13 13
 {
14
+    explicit GapsResult();
14 15
     explicit GapsResult(const GapsStatistics &stat);
15 16
     void writeToFile(const std::string &path);
16 17