Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/Executors.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,9 @@ CPyCppyy::Executor* CPyCppyy::CreateExecutor(Cppyy::TCppType_t type, cdims_t dim

// an exactly matching executor is best
std::string fullType = Cppyy::GetTypeAsString(type);
if (fullType.ends_with(" &"))
fullType = fullType.substr(0, fullType.size() - 2) + "&";

ExecFactories_t::iterator h = gExecFactories.find(fullType);
if (h != gExecFactories.end())
return (h->second)(dims);
Expand Down