Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
aidge_core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
aidge
aidge_core
Commits
f1d4d12b
Commit
f1d4d12b
authored
11 months ago
by
Olivier BICHLER
Browse files
Options
Downloads
Patches
Plain Diff
Fixed bug with root node
parent
a138240f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!105
version 0.2.0
,
!94
Improved scheduling
Pipeline
#42676
passed
11 months ago
Stage: static_analysis
Stage: build
Stage: test
Stage: coverage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/graph/GraphView.cpp
+1
-1
1 addition, 1 deletion
src/graph/GraphView.cpp
with
1 addition
and
1 deletion
src/graph/GraphView.cpp
+
1
−
1
View file @
f1d4d12b
...
...
@@ -1258,7 +1258,7 @@ void Aidge::GraphView::updateInputsOutputsDelete(std::shared_ptr<Node> deletedNo
if
(
deletedNode
==
mRootNode
)
{
const
std
::
pair
<
std
::
vector
<
NodePtr
>
,
size_t
>
ranked_nodes
=
getRankedNodes
();
if
(
ranked_nodes
.
second
==
0
)
if
(
ranked_nodes
.
second
==
0
||
ranked_nodes
.
first
.
size
()
<=
1
)
{
mRootNode
=
nullptr
;
}
else
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment