Skip to content

Commit eda5e7d

Browse files
authored
fix doc in Readme
1 parent bb8faa4 commit eda5e7d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ This implements the Opposite-Belief Trust Discounting Operator as defined in Sub
616616

617617
#### API Reference
618618
```go
619-
func TrustDiscountingOB(opinion1 *Opinion, opinion2 *Opinion) (Opinion, error)
619+
func TrustDiscountingOppositeBelief(opinion1 *Opinion, opinion2 *Opinion) (Opinion, error)
620620
```
621621
#### Problematic Inputs
622622
There are no problematic inputs for this operator, as long as they are valid opinions.
@@ -628,7 +628,7 @@ func main() {
628628
opinion1, _ := subjectivelogic.NewOpinion(0.2, 0.8, 0, 0.5)
629629
opinion2, _ := subjectivelogic.NewOpinion(1, 0, 0, 0.5)
630630
631-
out, err := subjectivelogic.TrustDiscountingOB(&opinion1, &opinion2)
631+
out, err := subjectivelogic.TrustDiscountingOppositeBelief(&opinion1, &opinion2)
632632
633633
if err != nil {
634634
fmt.Println("Error:", err)

0 commit comments

Comments
 (0)