Skip to content

Commit

Permalink
change line for error emulation
Browse files Browse the repository at this point in the history
  • Loading branch information
Laura Cabayol-Garcia committed Jul 9, 2024
1 parent 581d2b5 commit bca6110
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lace/emulator/nn_emulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@ def emulate_p1d_Mpc(self, model, k_Mpc, return_covar=False, z=None):
emu_p1derr = torch.sqrt(
torch.sum(
coeffserr[:, :, None]
* (self.log_kMpc[None,None, :] ** powers_err[None, :, None]),
* (logk_Mpc[None,None, :] ** powers_err[None, :, None]),
axis=1,
)
)
Expand Down

0 comments on commit bca6110

Please sign in to comment.