Skip to content

code restyle

Paul Baker requested to merge paul.baker/bayeswave:ptb-restyle into master

While starting the skyprior changes, I noticed the code had some irregularities... Because I'm a formatting madman, I ran some vim scripts to clean things up a bit:

  • remove carriage return characters: \r\n -> \n
  • remove trailing whitespace from lines (and some extraneous newlines)
  • turn all tabs into spaces: usually t -> 2 spaces (slightly different to maintain = alignment where needed)
  • re-indent some lines in a file that were out of alignment

Note that the carriage return change affects every line of BayesWave.c and BayesLine.c.

These are superficial code readability changes, and they should not affect any functionality. (Although, I haven't tested anything.)

Merge request reports