Skip to content

Commit b503481

Browse files
authored
Merge pull request #7 from quantlibnode/1.9
merge 1.9 to master
2 parents 6cb92c7 + a60e65e commit b503481

12 files changed

Lines changed: 176 additions & 162 deletions

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ Please refer to [how to build](#building-the-native-addon) below
4343
| -------- | ------------- | ------- | ------------- |
4444
| 1.7.1 | 1.7.0 | 6.9.1 | 0.1.x |
4545
| 1.8.1 | 1.8.0 | 6.9.5 | 0.2.x |
46+
| 1.9.2 | 1.9.0 | 6.9.5 | 0.3.x |
4647

4748
## Building the native addon
4849

@@ -133,4 +134,4 @@ ql.SymmetricSchurDecomposition('mtx#1',mtx1).then(function(obj){ //C2 formula: =
133134
0.01580103250921176,
134135
0.01377474504269164,
135136
0.012784934140218302 ]
136-
```
137+
```

lib/quantlib.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,8 @@ exports.CreditBasketSetLossModel = promisify(rawApi.CreditBasketSetLossModel);
353353
exports.CreditBasketSize = promisify(rawApi.CreditBasketSize);
354354
exports.CreditBasketLiveNotional = promisify(rawApi.CreditBasketLiveNotional);
355355
exports.CreditBasketLoss = promisify(rawApi.CreditBasketLoss);
356-
exports.CrediBasketAttachLive = promisify(rawApi.CrediBasketAttachLive);
357-
exports.CrediBasketDetachLive = promisify(rawApi.CrediBasketDetachLive);
356+
exports.CreditBasketAttachLive = promisify(rawApi.CreditBasketAttachLive);
357+
exports.CreditBasketDetachLive = promisify(rawApi.CreditBasketDetachLive);
358358
exports.ExpectedTrancheLoss = promisify(rawApi.ExpectedTrancheLoss);
359359
exports.CreditBasketPercentile = promisify(rawApi.CreditBasketPercentile);
360360
exports.CreditBasketESF = promisify(rawApi.CreditBasketESF);

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "quantlib",
33
"description": "QuantLib Asyn Bindings for Node.js",
4-
"version": "0.2.1",
4+
"version": "0.3.0",
55
"keywords": [
66
"quantlib"
77
],

quantlibnode.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,8 @@ NAN_MODULE_INIT(init){
373373
Nan::SetMethod(target, "CreditBasketSize", QuantLibNode::CreditBasketSize);
374374
Nan::SetMethod(target, "CreditBasketLiveNotional", QuantLibNode::CreditBasketLiveNotional);
375375
Nan::SetMethod(target, "CreditBasketLoss", QuantLibNode::CreditBasketLoss);
376-
Nan::SetMethod(target, "CrediBasketAttachLive", QuantLibNode::CrediBasketAttachLive);
377-
Nan::SetMethod(target, "CrediBasketDetachLive", QuantLibNode::CrediBasketDetachLive);
376+
Nan::SetMethod(target, "CreditBasketAttachLive", QuantLibNode::CreditBasketAttachLive);
377+
Nan::SetMethod(target, "CreditBasketDetachLive", QuantLibNode::CreditBasketDetachLive);
378378
Nan::SetMethod(target, "ExpectedTrancheLoss", QuantLibNode::ExpectedTrancheLoss);
379379
Nan::SetMethod(target, "CreditBasketPercentile", QuantLibNode::CreditBasketPercentile);
380380
Nan::SetMethod(target, "CreditBasketESF", QuantLibNode::CreditBasketESF);

quantlibnode.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,8 +421,8 @@ class QuantLibNode : public Nan::ObjectWrap {
421421
static NAN_METHOD(CreditBasketSize);
422422
static NAN_METHOD(CreditBasketLiveNotional);
423423
static NAN_METHOD(CreditBasketLoss);
424-
static NAN_METHOD(CrediBasketAttachLive);
425-
static NAN_METHOD(CrediBasketDetachLive);
424+
static NAN_METHOD(CreditBasketAttachLive);
425+
static NAN_METHOD(CreditBasketDetachLive);
426426
static NAN_METHOD(ExpectedTrancheLoss);
427427
static NAN_METHOD(CreditBasketPercentile);
428428
static NAN_METHOD(CreditBasketESF);

0 commit comments

Comments
 (0)