Browse Source

Cosmetic changes to fitCenters

Andrej 1 year ago
parent
commit
e098801656
1 changed files with 2 additions and 2 deletions
  1. 2 2
      matlab/fitCenters.m

+ 2 - 2
matlab/fitCenters.m

@@ -80,8 +80,8 @@ function [globalPar, cPars] = ...
     
         %first estimate input functions
         %take function with maximum response as IVF surrogate
-        [m mi]=max(centers);
-        [fm mj]=max(m);
+        [m, mi]=max(centers);
+        [~, mj]=max(m);
         cay=centers(mi(mj),:)';
         w=ones(size(cay));