minor patch
This commit is contained in:
parent
42dd66e2e7
commit
5798145e76
@ -1030,8 +1030,8 @@ public class Mathematics {
|
|||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
public static double[] expandVector(double[] x, int len, double v) {
|
public static double[] expandVector(double[] x, int len, double v) {
|
||||||
if (len <= x.length ) {
|
if (len <= x.length ) {// not really an error, just perform identity
|
||||||
System.err.println("Error, invalid length in expandVector, expecting l>" + x.length);
|
// System.err.println("Error, invalid length in expandVector, expecting l>" + x.length);
|
||||||
return x;
|
return x;
|
||||||
} else {
|
} else {
|
||||||
double[] expanded = new double[len];
|
double[] expanded = new double[len];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user