Skip to content

Commit

Permalink
fromStateObject should be static, #385
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed May 4, 2021
1 parent 0634370 commit 846af58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/common/model/RAPRatioTuple.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ class RAPRatioTuple {
* @param {Object} stateObject see toStateObject
* @returns {RAPRatioTuple}
*/
fromStateObject( stateObject ) {
static fromStateObject( stateObject ) {
return new RAPRatioTuple( stateObject.antecedent, stateObject.consequent );
}
}
Expand Down

0 comments on commit 846af58

Please sign in to comment.