Skip to content

Commit

Permalink
Fix typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
trivialfis committed Jul 3, 2024
1 parent 5ce0e02 commit 151c1c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions plugin/federated/federated_plugin.cc
Original file line number Diff line number Diff line change
Expand Up @@ -178,12 +178,12 @@ FederatedPlugin::FederatedPlugin(StringView path, Json config)
BuildEncryptedHistVert_ = SafeLoad<decltype(BuildEncryptedHistVert_)>(
plugin_.get(), "FederatedPluginBuildEncryptedHistVert");
SyncEncryptedHistVert_ = SafeLoad<decltype(SyncEncryptedHistVert_)>(
plugin_.get(), "FederatedPluginSyncEnrcyptedHistVert");
plugin_.get(), "FederatedPluginSyncEncryptedHistVert");
// Horizontal
BuildEncryptedHistHori_ = SafeLoad<decltype(BuildEncryptedHistHori_)>(
plugin_.get(), "FederatedPluginBuildEncryptedHistHori");
SyncEncryptedHistHori_ = SafeLoad<decltype(SyncEncryptedHistHori_)>(
plugin_.get(), "FederatedPluginSyncEnrcyptedHistHori");
plugin_.get(), "FederatedPluginSyncEncryptedHistHori");
}

FederatedPlugin::~FederatedPlugin() = default;
Expand Down
4 changes: 2 additions & 2 deletions plugin/federated/federated_plugin.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ using BuildHistVertFn = int(FederatedPluginHandle handle, uint64_t const **ridx,
/**
* @brief Synchronize the histogram after the allgather call for all parties.
*
* Symbol name: `FederatedPluginSyncEnrcyptedHistVert`.
* Symbol name: `FederatedPluginSyncEncryptedHistVert`.
*
* @param in_hist Histogram buffer from the allgather call.
* @param len The size of the input histogram buffer.
Expand Down Expand Up @@ -163,7 +163,7 @@ using BuildHistHoriFn = int(FederatedPluginHandle handle, double const *in_hist,
/**
* @brief Reduce the histogram after the allgather call.
*
* Symbol name: `FederatedPluginSyncEnrcyptedHistHori`.
* Symbol name: `FederatedPluginSyncEncryptedHistHori`.
*
* @param in_hist Input histogram from the allgather call.
* @param len The length of the input histogram.
Expand Down

0 comments on commit 151c1c2

Please sign in to comment.