SWS-Methodology / faoswsProduction

Repository to contain the code for imputing production data in the statistical working system.
0 stars 1 forks source link

Incorrect transfer when parent is missing and share is 0 #186

Closed mkao006 closed 8 years ago

mkao006 commented 8 years ago

This happens when the parent is missing and the share is zero. When transferring from parent to child, missing value is assigned to child which can then be imputed.

However, since the share is zero, the transfer can not be done back to the parent as share is zero.

This is a bug because when share is zero, the child should be zero as well.

mkao006 commented 8 years ago

resolved in https://github.com/SWS-Methodology/faoswsProduction/commit/7a6112c51477a29728ec63c9a116cfb17e62ca6d