Fixed duplicate symbols caused by specialized filter_val_c template by changing to inline as per Lizzie's suggestion.