"platforms/opencl/vscode:/vscode.git/clone" did not exist on "e62a6de6d99f6135dc04b3c135b2b08150ef9914"
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 {
void ObcParameters::setObcTypeParameters(ObcParameters::ObcType obcType) {
if (obcType == ObcTypeI) {
_alphaObc = 0.8f;
_betaObc = 0.0f;
_gammaObc = 2.91f;
_alphaObc = 0.8L;
_betaObc = 0.0L;
_gammaObc = 2.91L;
} else {
_alphaObc = 1.0f;
_betaObc = 0.8f;
_gammaObc = 4.85f;
_alphaObc = 1.0L;
_betaObc = 0.8L;
_gammaObc = 4.85L;
}
_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