Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Plumed AlphaFold
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Kurečka
Plumed AlphaFold
Commits
dd277dcc
There was an error fetching the commit references. Please try again later.
Commit
dd277dcc
authored
8 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Patches
Plain Diff
Fix cppcheck
parent
a2cb143a
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/colvar/ERMSD.cpp
+2
-2
2 additions, 2 deletions
src/colvar/ERMSD.cpp
src/tools/ERMSD.h
+1
-1
1 addition, 1 deletion
src/tools/ERMSD.h
with
3 additions
and
3 deletions
src/colvar/ERMSD.cpp
+
2
−
2
View file @
dd277dcc
...
...
@@ -150,7 +150,7 @@ PLUMED_COLVAR_INIT(ao), pbc(true)
// store target_ distance
vector
<
Vector
>
reference_positions
;
unsigned
natoms
=
atoms_
.
size
();
log
.
printf
(
"Read %
d
atoms
\n
"
,
natoms
);
log
.
printf
(
"Read %
u
atoms
\n
"
,
natoms
);
reference_positions
.
resize
(
natoms
);
for
(
unsigned
i
=
0
;
i
<
natoms
;
i
++
){
...
...
@@ -167,7 +167,7 @@ PLUMED_COLVAR_INIT(ao), pbc(true)
derivs
.
resize
(
natoms
);
log
.
printf
(
" reference from file %s
\n
"
,
reference
.
c_str
());
log
.
printf
(
" which contains %
d
atoms
\n
"
,
natoms
);
log
.
printf
(
" which contains %
u
atoms
\n
"
,
natoms
);
}
...
...
This diff is collapsed.
Click to expand it.
src/tools/ERMSD.h
+
1
−
1
View file @
dd277dcc
...
...
@@ -47,7 +47,7 @@ class ERMSD {
public:
/// Constructor
ERMSD
()
:
natoms
(
0
),
nresidues
(
0
)
{}
ERMSD
()
:
natoms
(
0
),
nresidues
(
0
)
,
cutoff
(
0.0
)
{}
/// clear the structure
void
clear
();
...
...
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