File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/TiledArray/math/solvers/cp Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ class CP_ALS : public CP<Tile, Policy> {
7272 this ->norm_ref_sq = this ->norm_reference * this ->norm_reference ;
7373 }
7474
75- void set_factor_matrices (std::vector<DistArray<Tile, Policy>> & factors){
75+ void set_factor_matrices (std::vector<DistArray<Tile, Policy>>& factors) {
7676 cp_factors = factors;
7777 factors_set = true ;
7878 }
@@ -100,10 +100,9 @@ class CP_ALS : public CP<Tile, Policy> {
100100 rank_trange, reference.trange ().data ()[i]);
101101 cp_factors.emplace_back (factor);
102102 }
103- }else if (factors_set){
103+ } else if (factors_set) {
104104 // Do nothing and don't throw an error.
105- }
106- else {
105+ } else {
107106 TA_EXCEPTION (" Currently no implementation to increase or change rank" );
108107 }
109108
You can’t perform that action at this time.
0 commit comments