aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fitter_check.m4
-rw-r--r--remove_similar_soln.m2
2 files changed, 3 insertions, 3 deletions
diff --git a/fitter_check.m b/fitter_check.m
index 5b0f8e3..9d59c9d 100644
--- a/fitter_check.m
+++ b/fitter_check.m
@@ -21,13 +21,13 @@ qf=wr2q(wf,rf,lambda);
%Remove similar solutions
n_truncate = 4;
-[ possible_lens_placement_uniq, possible_lens_placement, possible_lens_set, index ] = remove_similar_soln( possible_sample_energy, possible_lens_placement, possible_lens_set, index, n_truncate );
+[ possible_lens_placement_uniq, possible_lens_placement, possible_lens_set, index ] = remove_similar_soln( possible_sample_energy, possible_lens_placement, possible_lens_set, n_truncate );
%Visualize five best solutions
n_visualizations = 5;
pick_visualization( possible_lens_placement_uniq, possible_lens_placement, possible_lens_set, index, n_visualizations, q0, qf, Ltot, lambda );
-possible_sample_energy(index(1:n_graph),:)
+possible_sample_energy(index(1:n_visualizations),:)
% %Visualize fitness function for fixed f2 and f3
diff --git a/remove_similar_soln.m b/remove_similar_soln.m
index ce1c896..4e554ab 100644
--- a/remove_similar_soln.m
+++ b/remove_similar_soln.m
@@ -1,4 +1,4 @@
-function [ possible_lens_placement_uniq, possible_lens_placement, possible_lens_set, index ] = remove_similar_soln( possible_sample_energy, possible_lens_placement, possible_lens_set, index, n_truncate )
+function [ possible_lens_placement_uniq, possible_lens_placement, possible_lens_set, index ] = remove_similar_soln( possible_sample_energy, possible_lens_placement, possible_lens_set, n_truncate )
%REMOVE_SIMILAR_SOLN Summary of this function goes here
% Detailed explanation goes here