diff options
author | Lu Fang <lufang@fb.com> | 2019-02-02 15:47:32 +0300 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2019-02-02 15:50:19 +0300 |
commit | ef0ad4c0bb21248f276d8a8d380dfc9e37b9b141 (patch) | |
tree | 30cec33ec1f7d02512ce543481be01b159765ccc | |
parent | d90dbbacf0307681fef2c7d5f86685c219f433c0 (diff) |
Remove inappropriate consts (#67)
Summary:
Pull Request resolved: https://github.com/pytorch/FBGEMM/pull/67
The inappropriate consts will fail the builds of pytorch. Let's remove them.
Please check https://circleci.com/api/v1.1/project/github/pytorch/pytorch/704282/output/104/0?file=true
Reviewed By: bddppq, BIT-silence
Differential Revision: D13935557
fbshipit-source-id: 5dea01310be8bce38e3864d69a7b1ac97ed976c7
-rw-r--r-- | include/fbgemm/Fbgemm.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/fbgemm/Fbgemm.h b/include/fbgemm/Fbgemm.h index 47c514d..a3c5ab7 100644 --- a/include/fbgemm/Fbgemm.h +++ b/include/fbgemm/Fbgemm.h @@ -1027,7 +1027,7 @@ class FBGEMM_API ReQuantizeOutput { const float* getCMultiplier() const { return C_multiplier_; } - const std::int32_t getCZeroPoint() const { + std::int32_t getCZeroPoint() const { return C_zero_point_; } const std::int32_t* getBZeroPoint() const { @@ -1039,7 +1039,7 @@ class FBGEMM_API ReQuantizeOutput { const std::int32_t* getBias() const { return bias_; } - const std::uint32_t getNCols() const { + std::uint32_t getNCols() const { return ncols_; } |