forked from profectus/Profectus
Fix some tests
This commit is contained in:
parent
c3b5f2cdad
commit
d7e2658304
1 changed files with 6 additions and 3 deletions
|
@ -71,8 +71,11 @@ export default class Formula<T extends [FormulaSource] | FormulaSource[]> {
|
||||||
this.inputs = readonlyProperties.inputs;
|
this.inputs = readonlyProperties.inputs;
|
||||||
this.internalHasVariable = readonlyProperties.internalHasVariable;
|
this.internalHasVariable = readonlyProperties.internalHasVariable;
|
||||||
this.innermostVariable = readonlyProperties.innermostVariable;
|
this.innermostVariable = readonlyProperties.innermostVariable;
|
||||||
|
this.internalEvaluate = readonlyProperties.internalEvaluate;
|
||||||
|
this.internalInvert = readonlyProperties.internalInvert;
|
||||||
this.internalIntegrate = readonlyProperties.internalIntegrate;
|
this.internalIntegrate = readonlyProperties.internalIntegrate;
|
||||||
this.internalIntegrateInner = readonlyProperties.internalIntegrateInner;
|
this.internalIntegrateInner = readonlyProperties.internalIntegrateInner;
|
||||||
|
this.internalInvertIntegral = readonlyProperties.internalInvertIntegral;
|
||||||
this.applySubstitution = readonlyProperties.applySubstitution;
|
this.applySubstitution = readonlyProperties.applySubstitution;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -135,13 +138,13 @@ export default class Formula<T extends [FormulaSource] | FormulaSource[]> {
|
||||||
return {
|
return {
|
||||||
inputs,
|
inputs,
|
||||||
internalEvaluate: evaluate,
|
internalEvaluate: evaluate,
|
||||||
|
internalInvert,
|
||||||
internalIntegrate: integrate,
|
internalIntegrate: integrate,
|
||||||
internalIntegrateInner: integrateInner,
|
internalIntegrateInner: integrateInner,
|
||||||
|
internalInvertIntegral,
|
||||||
applySubstitution,
|
applySubstitution,
|
||||||
innermostVariable,
|
innermostVariable,
|
||||||
internalHasVariable,
|
internalHasVariable
|
||||||
internalInvert,
|
|
||||||
internalInvertIntegral
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue