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
2 changes: 1 addition & 1 deletion gemc/gsystem/gsystemFactories/cad/loadGeometry.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void GSystemCADFactory::loadGeometry(GSystem* s) {

// Import each STL as a volume. Each volume name is derived from the filename.
for (const auto& cf : cadFiles) {
s->addVolumeFromFile(GSYSTEMCADTFACTORYLABEL, dirLocation.append("/").append(cf));
s->addVolumeFromFile(GSYSTEMCADTFACTORYLABEL, dirLocation + "/" + cf);
}

// If the file cad__<variation>.yaml is found in dirLocation, modify the gvolumes accordingly.
Expand Down