]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_rootinset.C
Fix reading of math macros
[lyx.git] / src / mathed / math_rootinset.C
index a73efbd4f42670c854b8dc46bf5c130ca45879cc..8c442d3bf7045bccd5e37f5bfbd708d748bfaa10 100644 (file)
@@ -89,9 +89,15 @@ bool MathRootInset::idxUpDown(idx_type & idx, pos_type & pos, bool up, int) cons
 }
 
 
+void MathRootInset::maplize(MapleStream & os) const
+{
+       os << '(' << cell(1) << ")^(1/(" << cell(0) <<"))";
+}
+
+
 void MathRootInset::octavize(OctaveStream & os) const
 {
-       os << "root(" << cell(1) << ',' << cell(0) <<')';
+       os << "root(" << cell(1) << ',' << cell(0) << ')';
 }