Skip to content

Commit

Permalink
docs: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
SarcasticMoose committed Aug 15, 2024
1 parent 60145ff commit ac97a05
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ This object contains information about the success or failure of the operation.
Before obtaining the ``Value`` from the result object, it is necessary to check that no errors have occurred.

```csharp
IMethod topsis = new TopsisMethod();
var topsis = new Topsis(new McdaMethodOptions()
{
NormalizationMethod = NormalizationMethod.MinMax
});
Result<Vector<double>> result = topsis.Calculate(data,weights,types);

if(topsisResult.IsFailed)
Expand Down

0 comments on commit ac97a05

Please sign in to comment.