GUI: crash on mixing axes units in "Fit 2D Data" presentation
It is mentioned in #288 (closed) that Fit 2D Data
presentation may show plots with different axes units and color schemes. This happens if we go to Heat Map
presentation and change units/colors. Units/colors are applied to the simulated data only, so when we go back to Fit 2D Data
we see the mixture.
The differential data still can be calculated, as far as the real and simulated data has same dimensions. But in the commit e9b6fa3e the condition hasSameSizes
was changed to hasSameShape
that also includes axes units. This lead to crash with ASSERT(false)
when we go to Heat Map
, change units and go back to Fit 2D Data
.
Edited by Mikhail Svechnikov