Commit 03fb919c authored by kraus's avatar kraus
Browse files

fix some long standing errors w.r.t RADDEG and DEGRAD :)

parent cf8e1878
......@@ -40,7 +40,7 @@ RealConstant::RealConstant():
OpalData *OPAL = OpalData::getInstance();
OPAL->create(new RealConstant("PI", this, Physics::pi));
OPAL->create(new RealConstant("TWOPI", this, Physics::two_pi));
OPAL->create(new RealConstant("RADDEG", this, 180.0 / Physics::pi / 180.0));
OPAL->create(new RealConstant("RADDEG", this, 180.0 / Physics::pi));
OPAL->create(new RealConstant("DEGRAD", this, Physics::pi / 180.0));
OPAL->create(new RealConstant("E", this, Physics::e));
......
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