Azure / fleet

Multi-cluster core
MIT License
76 stars 22 forks source link

fix: address NaN output in weight interpolation #883

Closed michaelawyu closed 1 month ago

michaelawyu commented 2 months ago

Description of your changes

This PR fixes an issue where weight interpolation will yield a NaN value when a property is of the same value across the fleet.

I have:

How has this code been tested

Special notes for your reviewer

Unit tests for the file have not been checked in before; will submit a separate PR.

michaelawyu commented 1 month ago

Note: the fix itself has been checked in with an earlier PR; closing this one as its content has been included in #887.