Skip to content

Commit

Permalink
fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
klausspanderen committed Nov 10, 2024
1 parent 8c1e9ac commit efb1c78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ql/instruments/basketoption.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ namespace QuantLib {
a.begin(), Real(0.0));
}

Array weights() const { return weights_; }
const Array& weights() const { return weights_; }

private:
Array weights_;
Expand Down

0 comments on commit efb1c78

Please sign in to comment.