diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ab10b8d..9b92f0e 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -102,7 +102,7 @@ jobs: Invoke-WebRequest -OutFile 3.3.7.tar.gz https://github.com/eigenteam/eigen-git-mirror/archive/3.3.7.tar.gz tar -zxvf 3.3.7.tar.gz mv eigen-git-mirror-3.3.7 include - Invoke-WebRequest -OutFile 3.3.7.tar.gz https://github.com/bab2min/EigenRand/archive/v0.2.1.tar.gz + Invoke-WebRequest -OutFile v0.2.1.tar.gz https://github.com/bab2min/EigenRand/archive/v0.2.1.tar.gz tar -zxvf v0.2.1.tar.gz mv EigenRand-0.2.1/EigenRand include/ - name: Deploy diff --git a/.github/workflows/deploy_test.yml b/.github/workflows/deploy_test.yml index 922ef1d..0b89a6d 100644 --- a/.github/workflows/deploy_test.yml +++ b/.github/workflows/deploy_test.yml @@ -101,7 +101,7 @@ jobs: Invoke-WebRequest -OutFile 3.3.7.tar.gz https://github.com/eigenteam/eigen-git-mirror/archive/3.3.7.tar.gz tar -zxvf 3.3.7.tar.gz mv eigen-git-mirror-3.3.7 include - Invoke-WebRequest -OutFile 3.3.7.tar.gz https://github.com/bab2min/EigenRand/archive/v0.2.1.tar.gz + Invoke-WebRequest -OutFile v0.2.1.tar.gz https://github.com/bab2min/EigenRand/archive/v0.2.1.tar.gz tar -zxvf v0.2.1.tar.gz mv EigenRand-0.2.1/EigenRand include/ - name: Deploy diff --git a/.github/workflows/pull_request_test.yml b/.github/workflows/pull_request_test.yml index 310d39d..c13e5ae 100644 --- a/.github/workflows/pull_request_test.yml +++ b/.github/workflows/pull_request_test.yml @@ -99,7 +99,7 @@ jobs: Invoke-WebRequest -OutFile 3.3.7.tar.gz https://github.com/eigenteam/eigen-git-mirror/archive/3.3.7.tar.gz tar -zxvf 3.3.7.tar.gz mv eigen-git-mirror-3.3.7 include - Invoke-WebRequest -OutFile 3.3.7.tar.gz https://github.com/bab2min/EigenRand/archive/v0.2.1.tar.gz + Invoke-WebRequest -OutFile v0.2.1.tar.gz https://github.com/bab2min/EigenRand/archive/v0.2.1.tar.gz tar -zxvf v0.2.1.tar.gz mv EigenRand-0.2.1/EigenRand include/ - name: Build diff --git a/src/TopicModel/DT.h b/src/TopicModel/DT.h index 8996178..162a003 100644 --- a/src/TopicModel/DT.h +++ b/src/TopicModel/DT.h @@ -45,7 +45,7 @@ namespace tomoto size_t timepoint) const = 0; virtual size_t getT() const = 0; - virtual std::vector getNumDocsByT() const = 0; + virtual std::vector getNumDocsByT() const = 0; virtual Float getAlphaVar() const = 0; virtual Float getEtaVar() const = 0; diff --git a/src/TopicModel/DTModel.hpp b/src/TopicModel/DTModel.hpp index 7eeacd2..a7a6df6 100644 --- a/src/TopicModel/DTModel.hpp +++ b/src/TopicModel/DTModel.hpp @@ -48,7 +48,7 @@ namespace tomoto Eigen::Matrix alphas; // Dim: (Topic, Time) Eigen::Matrix etaByDoc; // Dim: (Topic, Docs) : Topic distribution by docs(and time) - std::vector numDocsByTime; // Dim: (Time) + std::vector numDocsByTime; // Dim: (Time) Eigen::Matrix phi; // Dim: (Word, Topic * Time) std::vector> wordAliasTables; // Dim: (Word * Time) @@ -495,7 +495,7 @@ namespace tomoto T, shapeA, shapeB, shapeC, alphaVar, etaVar, phiVar, alphas, etaByDoc, phi); GETTER(T, size_t, T); - GETTER(NumDocsByT, std::vector, numDocsByTime); + GETTER(NumDocsByT, std::vector, numDocsByTime); GETTER(AlphaVar, Float, alphaVar); GETTER(EtaVar, Float, etaVar); GETTER(PhiVar, Float, phiVar);