Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
graph-tool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
40
Issues
40
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tiago Peixoto
graph-tool
Commits
6f8ba179
Commit
6f8ba179
authored
Jun 05, 2020
by
Tiago Peixoto
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NestedBlockState: fix bfield influence for higher levels
This fixes issue
#662
parent
164ac5f6
Pipeline
#625
passed with stage
in 376 minutes and 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
src/graph/inference/blockmodel/graph_blockmodel.hh
src/graph/inference/blockmodel/graph_blockmodel.hh
+9
-7
No files found.
src/graph/inference/blockmodel/graph_blockmodel.hh
View file @
6f8ba179
...
...
@@ -1411,13 +1411,6 @@ public:
}
}
auto
&
f
=
_bfield
[
v
];
if
(
!
f
.
empty
())
{
dS_dl
-=
(
nr
<
f
.
size
())
?
f
[
nr
]
:
f
.
back
();
dS_dl
+=
(
r
<
f
.
size
())
?
f
[
r
]
:
f
.
back
();
}
if
(
!
_Bfield
.
empty
()
&&
ea
.
Bfield
)
{
int
dB
=
0
;
...
...
@@ -1670,6 +1663,15 @@ public:
double
dS
=
0
;
auto
&
f
=
_bfield
[
v
];
if
(
!
f
.
empty
())
{
if
(
nr
!=
null_group
)
dS
-=
(
nr
<
f
.
size
())
?
f
[
nr
]
:
f
.
back
();
if
(
r
!=
null_group
)
dS
+=
(
r
<
f
.
size
())
?
f
[
r
]
:
f
.
back
();
}
if
(
ea
.
partition_dl
)
{
enable_partition_stats
();
...
...
Tiago Peixoto
@count0
mentioned in issue
#662
·
Jun 05, 2020
mentioned in issue
#662
mentioned in issue #662
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment