onstove.OnStove.techshare_sumtoone#
- OnStove.techshare_sumtoone()#
This function checks if the sum of shares in the technology dictionary is 1.0.
If it is not, it will adjust the shares to make the sum 1.0.
- Parameters:
- techshare_dictdictionary
The original dictionary of technology shares
- Returns:
- techshare_dictdictionary
The updated dictionary of technology shares