Skip to content

Commit

Permalink
Rename variable
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Howe <[email protected]>
  • Loading branch information
bmhowe23 committed Jan 18, 2025
1 parent 9f6790d commit 35c14df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/qec/lib/decoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ std::unique_ptr<decoder> get_decoder(const std::string &name,
// Constructor function for auto-loading plugins
__attribute__((constructor)) void load_decoder_plugins() {
// Load plugins from the decoder-specific plugin directory
std::filesystem::path cudaqLibPath{cudaqx::__internal__::getCUDAQXLibraryPath(
std::filesystem::path libPath{cudaqx::__internal__::getCUDAQXLibraryPath(
cudaqx::__internal__::CudaQXLibType::QEC)};
auto pluginPath = cudaqLibPath.parent_path() / "decoder-plugins";
auto pluginPath = libPath.parent_path() / "decoder-plugins";
load_plugins(pluginPath.string(), PluginType::DECODER);
}

Expand Down

0 comments on commit 35c14df

Please sign in to comment.