]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_root.C
fix the matrix reading other small cleanup
[features.git] / src / mathed / math_root.C
index 605d153788abf45c8f4babf6a8af715a23fc0d0c..73f93f1b68efc42a9c6a74bc82640b199e437c2d 100644 (file)
@@ -75,6 +75,15 @@ MathedArray & MathRootInset::GetData()
 }
 
 
+MathedArray const & MathRootInset::GetData() const
+{
+       if (idx_ == 1)
+               return array;
+       else
+               return uroot_.GetData();
+}
+
+
 bool MathRootInset::Inside(int x, int y)
 {
        return (uroot_.Inside(x, y) || MathSqrtInset::Inside(x, y));