Fix glitches in MROOTINT documentation.
authorMatt McCutchen <matt@mattmccutchen.net>
Sun, 11 Jan 2009 00:34:30 +0000 (19:34 -0500)
committerMatt McCutchen <matt@mattmccutchen.net>
Sun, 11 Jan 2009 00:34:30 +0000 (19:34 -0500)
src/net/mattmccutchen/measurements/MeasurementsAddIn.java

index 0c02f46..975f982 100644 (file)
@@ -42,9 +42,9 @@ public class MeasurementsAddIn extends AddInBase<AddInHelper>
                        new FunctionInfo("mpowint", "mpowint", "Raises a measurement to an integer power.",
                                Arrays.asList(new ArgumentInfo("base", "Base"),
                                        new ArgumentInfo("exp", "Exponent"))),
-                       new FunctionInfo("mrootint", "mrootint", "Takes an integer square root of a measurement.  Does not allow fractional powers of units in the result.",
+                       new FunctionInfo("mrootint", "mrootint", "Takes an integer root of a measurement.  Does not allow fractional powers of units in the result.",
                                Arrays.asList(new ArgumentInfo("base", "Base"),
-                                       new ArgumentInfo("exp", "Exponent"))),
+                                       new ArgumentInfo("root", "Root (e.g., 2 for square root)"))),
                        new FunctionInfo("mpow", "mpow", "Raises one measurement to the power of another.  Both must be pure numbers.",
                                Arrays.asList(new ArgumentInfo("base", "Base"),
                                        new ArgumentInfo("exp", "Exponent"))),