fix conversion bug when input is in radians
This commit is contained in:
@ -261,7 +261,7 @@ void ComputeXRD::init()
|
|||||||
double ang = 0.0;
|
double ang = 0.0;
|
||||||
|
|
||||||
double convf = 360 / MY_PI;
|
double convf = 360 / MY_PI;
|
||||||
if (radflag ==1) convf = 1;
|
if (radflag == 1) convf = 2;
|
||||||
|
|
||||||
int n = 0;
|
int n = 0;
|
||||||
for (int m = 0; m < mmax; m++) {
|
for (int m = 0; m < mmax; m++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user