Commit 9179cc33 authored by BRAMAS Berenger's avatar BRAMAS Berenger

Add an assert in the rotation matrix operator

parent 83f4fe10
......@@ -653,6 +653,7 @@ class FRotationKernel : public FAbstractKernels<CellClass,ContainerClass> {
*/
// theta should be between [0;pi] as the inclinaison angle
void DlmkBuild(FReal dlmk[P+1][P2+1][P2+1], const FReal inTheta) const {
FAssertLF(0 <= inTheta && inTheta < FMath::FTwoPi);
// To have constants for very used values
const FReal F0 = FReal(0.0);
const FReal F1 = FReal(1.0);
......
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