Skip to content

Commit

Permalink
fix workflows & clang err
Browse files Browse the repository at this point in the history
  • Loading branch information
bab2min committed Jul 14, 2020
1 parent 6ef49a6 commit e9247d6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/TopicModel/DT.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ namespace tomoto
size_t timepoint) const = 0;

virtual size_t getT() const = 0;
virtual std::vector<size_t> getNumDocsByT() const = 0;
virtual std::vector<uint32_t> getNumDocsByT() const = 0;

virtual Float getAlphaVar() const = 0;
virtual Float getEtaVar() const = 0;
Expand Down
4 changes: 2 additions & 2 deletions src/TopicModel/DTModel.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ namespace tomoto

Eigen::Matrix<Float, -1, -1> alphas; // Dim: (Topic, Time)
Eigen::Matrix<Float, -1, -1> etaByDoc; // Dim: (Topic, Docs) : Topic distribution by docs(and time)
std::vector<size_t> numDocsByTime; // Dim: (Time)
std::vector<uint32_t> numDocsByTime; // Dim: (Time)
Eigen::Matrix<Float, -1, -1> phi; // Dim: (Word, Topic * Time)
std::vector<sample::AliasMethod<>> wordAliasTables; // Dim: (Word * Time)

Expand Down Expand Up @@ -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<size_t>, numDocsByTime);
GETTER(NumDocsByT, std::vector<uint32_t>, numDocsByTime);
GETTER(AlphaVar, Float, alphaVar);
GETTER(EtaVar, Float, etaVar);
GETTER(PhiVar, Float, phiVar);
Expand Down

0 comments on commit e9247d6

Please sign in to comment.