aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-03-17 16:34:00 +0100
committerThomas White <taw@physics.org>2015-04-20 15:50:39 +0200
commit57efc91e402af247d0ed6af5484837911aa95737 (patch)
treeeeb4bd4ca62ac6451eebd41adc4b78234fbb4c5a /src
parent63a971d9caed029234e91e4a561a1608a608d63f (diff)
Remove debug
Diffstat (limited to 'src')
-rw-r--r--src/predict-refine.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/predict-refine.c b/src/predict-refine.c
index 2c8875d4..454c135e 100644
--- a/src/predict-refine.c
+++ b/src/predict-refine.c
@@ -472,11 +472,11 @@ static int iterate(struct reflpeak *rps, int n, UnitCell *cell,
}
- show_matrix_eqn(M, v);
- shifts = solve_svd(v, M, NULL, 1);
+ //show_matrix_eqn(M, v);
+ shifts = solve_svd(v, M, NULL, 0);
for ( i=0; i<9; i++ ) {
- STATUS("Shift %i = %e\n", i, gsl_vector_get(shifts, i));
+ // STATUS("Shift %i = %e\n", i, gsl_vector_get(shifts, i));
}
/* Apply shifts */
@@ -546,7 +546,6 @@ int refine_prediction(struct image *image, Crystal *cr)
n = pair_peaks(image->features, crystal_get_cell(cr),
crystal_get_reflections(cr), rps, image->det);
- STATUS("%i peaks\n", n);
if ( n < 10 ) {
ERROR("Too few paired peaks to refine orientation.\n");
free(rps);