diff --git a/RevisionHistory.html b/RevisionHistory.html
index e348c499..8782f179 100644
--- a/RevisionHistory.html
+++ b/RevisionHistory.html
@@ -11,7 +11,7 @@
DFTFringe Version History
- - Version 8.5.0
+ - Version 8.5.1
- Live Video Mode! This may be rough around the edges but it works - view live fft and igrams or do auto averaging of the wavefronts from the video stream. Or you can just plot any zernike term and watch it drift over time.
- Mac and Linux versions!! Thanks to @lucassifoni. Mac installer will require extra steps for now. Most advanced mac users will know what to do but if not there are instructions on the main
@@ -30,6 +30,7 @@
DFTFringe Version History
- Fixed: When creating a fresh wavefront such as when averaging waves, the profile plot shows the wrong wavefront unless you click on the wavefront on the right.
- Configuration menu has 3 new features to reset/save/load all settings that get saved between sessions of DFTFringe
- Hot key help. You can't miss it. On many screens (igram tab, analyze tab, results tab, live video mode) you can hit "/" key for keyboard and mouse shortcuts.
+ - Fixed bug in "null error margins" that caused it to crash.
- Version 8.4.0
diff --git a/nullvariationdlg.cpp b/nullvariationdlg.cpp
index a0612b0f..f9891ffc 100644
--- a/nullvariationdlg.cpp
+++ b/nullvariationdlg.cpp
@@ -229,7 +229,7 @@ void nullVariationDlg::on_ComputeSim_clicked()
}
cv::Mat_ b(histData.size(),1);
for (int i = 0; i < histData.size(); ++i){
- b(i,1) = histData[i];
+ b(i,0) = histData[i];
}
cv::Scalar mean, std;
cv::meanStdDev(b, mean,std);