Skip to content

Resolve conflict markers in blackvariancecurve.cpp copyright header#21

Open
mattmenefee wants to merge 1 commit into
OpenSourceRisk:masterfrom
mattmenefee:fix-blackvariancecurve-conflict-markers
Open

Resolve conflict markers in blackvariancecurve.cpp copyright header#21
mattmenefee wants to merge 1 commit into
OpenSourceRisk:masterfrom
mattmenefee:fix-blackvariancecurve-conflict-markers

Conversation

@mattmenefee
Copy link
Copy Markdown

Summary

  • Commit 4f35d3eab (QPR-14001 merge ql 1.42.1 (Work in progress)) left unresolved Git conflict markers in the copyright header of ql/termstructures/volatility/equityfx/blackvariancecurve.cpp (lines 6–10).
  • The follow-up commit d500a5fdc (QPR-14001 bugfixes after QL upgrade to 1.42.1) did not clean them up, and the markers remain on master tip.
  • They fall inside the /* */ copyright block so the file still compiles, but they trip pre-merge tooling that greps for <<<<<<< HEAD / >>>>>>> markers.

This PR keeps both copyright lines (AcadiaSoft, Inc. and Paolo D'Elia) and removes only the three marker lines. No executable code is changed.

Before

```
Copyright (C) 2002, 2003, 2004 Ferdinando Ametrano
Copyright (C) 2003 StatPro Italia srl
<<<<<<< HEAD
Copyright (C) 2025 AcadiaSoft, Inc.

Copyright (C) 2026 Paolo D'Elia

QL_1_42_1
```

After

```
Copyright (C) 2002, 2003, 2004 Ferdinando Ametrano
Copyright (C) 2003 StatPro Italia srl
Copyright (C) 2025 AcadiaSoft, Inc.
Copyright (C) 2026 Paolo D'Elia
```

Test plan

  • File still compiles (no functional change — only comment lines edited)
  • No other files in the QuantLib tree contain unresolved <<<<<<< HEAD / >>>>>>> markers (verified via git grep)

The pre-existing commented-out markers in test-suite/defaultprobabilitycurves.cpp are intentional documentation of the v1.35 → HEAD API change (prefixed with // and surrounded by /* */ to preserve the v1.35 alternative as a reference) and are not addressed by this PR.

Commit 4f35d3e ("QPR-14001 merge ql 1.42.1 (Work in progress)") left
unresolved Git conflict markers in the copyright header of
ql/termstructures/volatility/equityfx/blackvariancecurve.cpp. The
follow-up commit d500a5f ("QPR-14001 bugfixes after QL upgrade to
1.42.1") did not clean them up.

The markers fall inside the /* */ copyright block so the file compiles,
but they remain on master tip and trip code-review tooling that greps
for unresolved merge markers.

Resolution: keep both copyright lines (AcadiaSoft and Paolo D'Elia) and
drop the marker lines. No code change.
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.

1 participant