Skip to content

Commit 70ab0ba

Browse files
authored
testlib.cpp: use radians, not degrees
1 parent e8d36ac commit 70ab0ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/testlib.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ int main(int argc, char* argv[])
1414
{
1515
using namespace ObjCryst;
1616
// check simple crystal
17-
Crystal fcc(3.523, 3.523, 3.523, 90, 90, 90, "F m -3 m");
17+
Crystal fcc(3.523, 3.523, 3.523, M_PI*0.5, M_PI*0.5, M_PI*0.5, "F m -3 m");
1818
// verify parsing of space group specification in COD4316154
1919
const char* cod4316154_sg_segment =
2020
"data_4316154\n"

0 commit comments

Comments
 (0)