Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
The "defaults" structure gets copied along with everything else by copy_geom().
Therefore, the same pointer might end up in two places leading to a double free.
Better to free it once only after reading the geometry.
|
|
|
|
|
|
|
|
|
|
Previously, we were using random(), which is really really bad.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Historically, scalar values have been represented in our data files as 1d arrays with size=1. Now they
are (more correctly) written as 0d arrays. This change allows CrystFEL to read both.
|
|
|
|
|
|
|
|
|
|
|