Commit e8126dd7 authored by Yutong Zhao's avatar Yutong Zhao
Browse files

Properly define GBSAOBC alpha beta gamma constants to be doubles.

parent c2817e92
...@@ -103,13 +103,13 @@ ObcParameters::ObcType ObcParameters::getObcType() const { ...@@ -103,13 +103,13 @@ ObcParameters::ObcType ObcParameters::getObcType() const {
void ObcParameters::setObcTypeParameters(ObcParameters::ObcType obcType) { void ObcParameters::setObcTypeParameters(ObcParameters::ObcType obcType) {
if (obcType == ObcTypeI) { if (obcType == ObcTypeI) {
_alphaObc = 0.8f; _alphaObc = 0.8L;
_betaObc = 0.0f; _betaObc = 0.0L;
_gammaObc = 2.91f; _gammaObc = 2.91L;
} else { } else {
_alphaObc = 1.0f; _alphaObc = 1.0L;
_betaObc = 0.8f; _betaObc = 0.8L;
_gammaObc = 4.85f; _gammaObc = 4.85L;
} }
_obcType = obcType; _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