File: doc_typo.patch

package info (click to toggle)
mpsolve 3.2.1-11
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 13,196 kB
  • sloc: ansic: 24,344; sh: 4,701; cpp: 3,138; makefile: 906; python: 407; yacc: 158; lex: 85; xml: 41
file content (38 lines) | stat: -rw-r--r-- 2,413 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Description: Fix typo in documentation; need '*' for multiplication.
Author: Doug Torrance <dtorrance@debian.org>
Forwarded: https://github.com/robol/MPSolve/pull/21
Last-Update: 2020-05-31

--- a/src/mpsolve/mpsolve.c
+++ b/src/mpsolve/mpsolve.c
@@ -179,7 +179,7 @@
            "               Example: -dfi for function calls and improvement\n"
 #endif
 	   " -p poly     Solve the polynomial specified on the command line. \n"
-           "               Example: %s -p \"x^4-6x^9+6/7x + 5\" \n"
+           "               Example: %s -p \"x^4-6*x^9+6/7*x + 5\" \n"
 	   " -r          Use a recursive strategy to dispose the initial approximations.\n"
 	   "             This option is available only for monomial polynomials. \n"
 	   "             Note: this option is considered experimental.\n"
--- a/src/mpsolve/mpsolve.1.in
+++ b/src/mpsolve/mpsolve.1.in
@@ -124,7 +124,7 @@
 \fB\-p poly\fR
 Solve the polynomial specified on the command line.
 .IP
-For example: mpsolve \fB-p\fR "x^4-6x^9+6/7x + 5"
+For example: mpsolve \fB-p\fR "x^4-6*x^9+6/7*x + 5"
 .TP
 \fB\-r\fR
 Use a recursive strategy to dispose the initial approximations.
--- a/src/xmpsolve/mainwindow.ui
+++ b/src/xmpsolve/mainwindow.ui
@@ -49,7 +49,7 @@
              </sizepolicy>
             </property>
             <property name="text">
-             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Insert polynomial here:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;Note:&lt;/span&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt; use 'x' as indeterminate, &lt;br/&gt;and (a +yi) for complex numbers.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt;Example: -2x + (1 + 3/2i)*x^2 +1.6e2&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
+             <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Insert polynomial here:&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:8pt; font-weight:600;&quot;&gt;Note:&lt;/span&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt; use 'x' as indeterminate, &lt;br/&gt;and (a +yi) for complex numbers.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot; font-size:8pt;&quot;&gt;Example: -2*x + (1 + 3/2i)*x^2 +1.6e2&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
             </property>
             <property name="alignment">
              <set>Qt::AlignLeading|Qt::AlignLeft|Qt::AlignTop</set>