Skip to content

Templated deltas - #27

Merged
bersen66 merged 2 commits into
cedra-library:mainfrom
bersen66:templated_deltas_
May 13, 2026
Merged

bersen66 merged 2 commits into
cedra-library:mainfrom
bersen66:templated_deltas_

Conversation

@bersen66

Copy link
Copy Markdown
Contributor

No description provided.

@bersen66
bersen66 requested a review from teensp1rit May 12, 2026 19:42
Comment thread cdr/options/volatility.h Outdated
}

Interpolator::InitState(&states_ptr[date_idx * interp_state_aligned_size], strikes_, row_raw_vols)
Interpolation::InitState(&states_ptr[date_idx * strikes_size], strikes_, row_raw_vols)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be reverted. The interpolation state is declared to be of size interp_state_aligned_size for each date_idx.

Comment thread cdr/options/volatility.h Outdated
delta_raw_vols[d_idx] = target_vol;
}

Interpolation::InitState(&delta_states_ptr[date_idx * deltas_size], pillar_deltas_, delta_raw_vols).OrCrashProgram();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same. See other comments

@teensp1rit
teensp1rit self-requested a review May 13, 2026 16:42

@teensp1rit teensp1rit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ок

@bersen66
bersen66 marked this pull request as ready for review May 13, 2026 18:36
@bersen66
bersen66 merged commit 408dc61 into cedra-library:main May 13, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants