mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-23 00:41:13 +00:00
Fabro-Run: 01KKV8D1S7NVQS9HXA0QKPVYCT
Fabro-Completed: 3
Fabro-Checkpoint: 92d3051c64
⚒️ Generated with [Fabro](https://fabro.sh)
10 lines
393 B
Diff
10 lines
393 B
Diff
--- a/astropy/modeling/separable.py
|
|
+++ b/astropy/modeling/separable.py
|
|
@@ -242,7 +242,7 @@ def _cstack(left, right):
|
|
cright = _coord_matrix(right, 'right', noutp)
|
|
else:
|
|
cright = np.zeros((noutp, right.shape[1]))
|
|
- cright[-right.shape[0]:, -right.shape[1]:] = 1
|
|
+ cright[-right.shape[0]:, -right.shape[1]:] = right
|
|
|
|
return np.hstack([cleft, cright])
|