use semicolon

This commit is contained in:
conrad
2022-05-26 17:04:48 +10:00
parent 1de14bf48d
commit cfa30cdcb1
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ randg(const uword n_rows, const uword n_cols, const distr_param& param = distr_p
param.get_double_vals(a,b);
arma_debug_check( ((a <= double(0)) || (b <= double(0))), "randg(): incorrect distribution parameters: a and b must be greater than zero" );
arma_debug_check( ((a <= double(0)) || (b <= double(0))), "randg(): incorrect distribution parameters; a and b must be greater than zero" );
obj_type out(n_rows, n_cols, arma_nozeros_indicator());
@@ -165,7 +165,7 @@ randg(const uword n_rows, const uword n_cols, const uword n_slices, const distr_
param.get_double_vals(a,b);
arma_debug_check( ((a <= double(0)) || (b <= double(0))), "randg(): incorrect distribution parameters: a and b must be greater than zero" );
arma_debug_check( ((a <= double(0)) || (b <= double(0))), "randg(): incorrect distribution parameters; a and b must be greater than zero" );
cube_type out(n_rows, n_cols, n_slices, arma_nozeros_indicator());
+2 -2
View File
@@ -47,7 +47,7 @@ randi(const uword n_rows, const uword n_cols, const distr_param& param = distr_p
param.get_int_vals(a,b);
arma_debug_check( (a > b), "randi(): incorrect distribution parameters: a must be less than b" );
arma_debug_check( (a > b), "randi(): incorrect distribution parameters; a must be less than b" );
obj_type out(n_rows, n_cols, arma_nozeros_indicator());
@@ -188,7 +188,7 @@ randi(const uword n_rows, const uword n_cols, const uword n_slices, const distr_
param.get_int_vals(a,b);
arma_debug_check( (a > b), "randi(): incorrect distribution parameters: a must be less than b" );
arma_debug_check( (a > b), "randi(): incorrect distribution parameters; a must be less than b" );
cube_type out(n_rows, n_cols, n_slices, arma_nozeros_indicator());
+3 -3
View File
@@ -43,7 +43,7 @@ randu(const distr_param& param)
param.get_double_vals(a,b);
arma_debug_check( (a >= b), "randu(): incorrect distribution parameters: a must be less than b" );
arma_debug_check( (a >= b), "randu(): incorrect distribution parameters; a must be less than b" );
double val;
@@ -78,7 +78,7 @@ randu(const distr_param& param)
param.get_double_vals(a,b);
arma_debug_check( (a >= b), "randu(): incorrect distribution parameters: a must be less than b" );
arma_debug_check( (a >= b), "randu(): incorrect distribution parameters; a must be less than b" );
eT val;
@@ -114,7 +114,7 @@ randu(const uword n_elem, const distr_param& param)
param.get_double_vals(a,b);
arma_debug_check( (a >= b), "randu(): incorrect distribution parameters: a must be less than b" );
arma_debug_check( (a >= b), "randu(): incorrect distribution parameters; a must be less than b" );
vec out(n_elem, arma_nozeros_indicator());