Unverified Commit 30592159 authored by peastman's avatar peastman Committed by GitHub
Browse files

Merge pull request #2246 from proteneer/long_double

Properly define GBSAOBC alpha beta gamma constants to be doubles.
parents c2817e92 885b63c3
......@@ -103,13 +103,13 @@ ObcParameters::ObcType ObcParameters::getObcType() const {
void ObcParameters::setObcTypeParameters(ObcParameters::ObcType obcType) {
if (obcType == ObcTypeI) {
_alphaObc = 0.8f;
_betaObc = 0.0f;
_gammaObc = 2.91f;
_alphaObc = 0.8;
_betaObc = 0.0;
_gammaObc = 2.91;
} else {
_alphaObc = 1.0f;
_betaObc = 0.8f;
_gammaObc = 4.85f;
_alphaObc = 1.0;
_betaObc = 0.8;
_gammaObc = 4.85;
}
_obcType = obcType;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment