Hello,<br><br>I implemented the following line of code:<br><br>Gami[~index0].shape ----> (100,)<br>sigma.shape             ----> (1,1)<br>Gami[~index0]  = Gam[~index0] - sigma**2<br><br>I get the error message:<br>*** ValueError: array is not broadcastable to correct shape<br>
<br>apparently <br><b>temp</b> = Gam[~index0] - sigma**2<br><b>temp</b>.shape -->  (1,100)<br><br>Which seems strange to me is there any reason why <b>temp</b> gets this shape ?<div><br></div><div>mvh</div><div>Jonas Wallin</div>