Update CA_template.pxi

fix type