xflouris / libpll

Phylogenetic Likelihood Library
GNU Affero General Public License v3.0
26 stars 6 forks source link

Check const correctness and use restrict keyword #130

Open xflouris opened 7 years ago

xflouris commented 7 years ago

Add const to function parameters where it would make code more readable.

Use restrict keyword to limit pointer aliasing.

amkozlov commented 7 years ago

I added missing const everywhere I could find: 8ce3148 and 31b25f6

stamatak commented 6 years ago

can we close this?