]> git.lyx.org Git - features.git/commitdiff
Fix issue with CAS.
authorEnrico Forestieri <forenr@lyx.org>
Sun, 9 Nov 2014 20:33:53 +0000 (21:33 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Sun, 9 Nov 2014 20:33:53 +0000 (21:33 +0100)
See http://thread.gmane.org/gmane.editors.lyx.devel/153516
This regression was due to a thinko in [43f6b167/lyxgit].

src/mathed/InsetMathHull.cpp
status.21x

index daf43feef61e9402a07bf69eba9af7605a5196eb..9657475d2e5564b064083c1f1639909b3f3308fe 100644 (file)
@@ -1346,7 +1346,7 @@ void InsetMathHull::doExtern(Cursor & cur, FuncRequest & func)
                MathData ar;
                if (cur.inMathed() && cur.selection()) {
                        asArray(grabAndEraseSelection(cur), ar);
-               } else if (!pos == cur.cell().empty()) {
+               } else if (pos == cur.cell().size()) {
                        ar = cur.cell();
                        lyxerr << "use whole cell: " << ar << endl;
                } else {
index c38e3b47780b496450b5b7fb5f7ca3493e737d32..36f2469491a4c162f4046d9bdef306c45dbd0ddf 100644 (file)
@@ -96,6 +96,8 @@ What's new
 
 - Disallow to insert program listings to footnotes and margin notes (bug 9321).
 
+- Fix computer algebra system computations in formulas with '=' signs.
+
 
 * INTERNALS