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
324efda3
There was an error fetching the commit references. Please try again later.
Commit
324efda3
authored
7 years ago
by
Giovanni Bussi
Browse files
Options
Downloads
Patches
Plain Diff
cppcheck: explicit
parent
7d40e211
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/pamm/PAMM.cpp
+1
-1
1 addition, 1 deletion
src/pamm/PAMM.cpp
src/tools/ForwardDecl.h
+1
-1
1 addition, 1 deletion
src/tools/ForwardDecl.h
src/tools/KernelFunctions.h
+2
-2
2 additions, 2 deletions
src/tools/KernelFunctions.h
with
4 additions
and
4 deletions
src/pamm/PAMM.cpp
+
1
−
1
View file @
324efda3
...
...
@@ -113,7 +113,7 @@ private:
PammObject
mypamm
;
public:
static
void
registerKeywords
(
Keywords
&
keys
);
PAMM
(
const
ActionOptions
&
);
explicit
PAMM
(
const
ActionOptions
&
);
/// We have to overwrite this here
unsigned
getNumberOfQuantities
()
const
;
/// Calculate the weight of this object ( average of input weights )
...
...
This diff is collapsed.
Click to expand it.
src/tools/ForwardDecl.h
+
1
−
1
View file @
324efda3
...
...
@@ -36,7 +36,7 @@ class ForwardDecl:
{
public:
// Construction is only possible from a pointer.
ForwardDecl
(
T
*
);
explicit
ForwardDecl
(
T
*
);
// Dereference operator is inherited from std::unique_ptr<T>
using
std
::
unique_ptr
<
T
>::
operator
*
;
};
...
...
This diff is collapsed.
Click to expand it.
src/tools/KernelFunctions.h
+
2
−
2
View file @
324efda3
...
...
@@ -46,9 +46,9 @@ private:
/// Convert the width into matrix form
Matrix
<
double
>
getMatrix
()
const
;
public
:
KernelFunctions
(
const
std
::
string
&
input
);
explicit
KernelFunctions
(
const
std
::
string
&
input
);
KernelFunctions
(
const
std
::
vector
<
double
>&
at
,
const
std
::
vector
<
double
>&
sig
,
const
std
::
string
&
type
,
const
std
::
string
&
mtype
,
const
double
&
w
);
KernelFunctions
(
const
KernelFunctions
*
in
);
explicit
KernelFunctions
(
const
KernelFunctions
*
in
);
/// Normalise the function and scale the height accordingly
void
normalize
(
const
std
::
vector
<
Value
*>&
myvals
);
/// Get the dimensionality of the kernel
...
...
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