Skip to content
Snippets Groups Projects
Commit 9ae04649 authored by Carlo Camilloni's avatar Carlo Camilloni
Browse files

Bias: removed unused method

parent 694b0ea3
No related branches found
No related tags found
No related merge requests found
......@@ -47,8 +47,6 @@ class Bias :
/// the pointer to the bias component
Value *valueBias;
protected:
/// set the forces to zero
void resetOutputForces();
/// set the force from the bias on argument i, this automatically set the partial derivative of the bias with respect to i to -f
void setOutputForce(int i,double f);
/// set the value of the bias
......@@ -71,11 +69,6 @@ void Bias::setBias(double bias){
valueBias->set(bias);
}
inline
void Bias::resetOutputForces(){
for(unsigned i=0;i<outputForces.size();++i) outputForces[i]=0.0;
}
inline
unsigned Bias::getNumberOfDerivatives(){
return getNumberOfArguments();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment