Closed YushaLiu closed 7 months ago
sum(Y^2) gets recomputed every time flash_update_data() is called. This is wasteful when only the diagonal changes. Add an argument to flash_update_data to prevent this, say Y2_diff.
this has now been implemented
sum(Y^2) gets recomputed every time flash_update_data() is called. This is wasteful when only the diagonal changes. Add an argument to flash_update_data to prevent this, say Y2_diff.