Passed
Push — main ( 051221...b63ebb )
by Shubham
02:26
created
src/vector.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,8 +24,8 @@
 block discarded – undo
24 24
  * @copyright (c) 2020-2021, Shubham Chaudhary
25 25
  * 
26 26
  */
27
- class vector extends nd {
28
-     use ops, linAlg;
27
+    class vector extends nd {
28
+        use ops, linAlg;
29 29
 
30 30
     /**
31 31
      * Factory method to build a new vector.
Please login to merge, or discard this patch.
src/reductions/ref.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -19,11 +19,11 @@
 block discarded – undo
19 19
 
20 20
 class ref { 
21 21
     
22
-     /**
23
-      * 
24
-      * @param \Np\matrix $m
25
-      * @return matrix|null
26
-      */
22
+        /**
23
+         * 
24
+         * @param \Np\matrix $m
25
+         * @return matrix|null
26
+         */
27 27
     public static function factory(\Np\matrix $m): matrix|null {
28 28
         $ipiv = vector::factory(min($m->row, $m->col), vector::INT);
29 29
         $ar = $m->copy();
Please login to merge, or discard this patch.
src/core/lapack.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -167,10 +167,10 @@
 block discarded – undo
167 167
         self::init();
168 168
         if($m->dtype == \Np\matrix::FLOAT){
169 169
             return self::$ffi_lapack->LAPACKE_sgels( $matLayout, $trans, $m->row, $m->col, $b->col, $m->data,
170
-                          $m->col, $b->data, $b->col );
170
+                            $m->col, $b->data, $b->col );
171 171
         }
172 172
         return self::$ffi_lapack->LAPACKE_dgels( $matLayout, $trans, $m->row, $m->col, $b->col, $m->data,
173
-                          $m->col, $b->data, $b->col );
173
+                            $m->col, $b->data, $b->col );
174 174
     }
175 175
 
176 176
 }
Please login to merge, or discard this patch.