Skip to content

Calozvertex cnn - #4

Closed
nk7252 wants to merge 2 commits into
danjlis:calozvertexfrom
nk7252:calozvertex-cnn
Closed

Calozvertex cnn#4
nk7252 wants to merge 2 commits into
danjlis:calozvertexfrom
nk7252:calozvertex-cnn

Conversation

@nk7252

@nk7252 nk7252 commented Jul 14, 2026

Copy link
Copy Markdown

move constructor out of line for ONNX pimpl

nk7252 and others added 2 commits July 14, 2026 11:59
The defaulted constructor was inline in the header, which instantiates
~unique_ptr<OnnxSession> where OnnxSession is only forward-declared. The
library builds (OnnxSession is complete in the .cc), but an external
consumer under cling (a macro doing `new CaloVtxAlgoCNN()`) fails with
"invalid application of sizeof to an incomplete type". Move the ctor
out-of-line next to the dtor, matching CaloVtxAlgoVit.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings July 14, 2026 16:03

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@nk7252 nk7252 closed this Jul 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants