tmolteno / necpp

NEC2++ is a C++ rewrite of the Numerical Electromagnetics Code (NEC-2) with many new features like automatic error detection when you specify the structure incorrectly and much faster execution. Nec2++ can analyse radiating as well as scattering properties of structures. The simulation engine in Nec2++ is compiled into a library for easy integration into automatic antenna design systems or GUI tools. Examples are included for using Nec2++ from C/C++, Ruby and Python.
http://elec.otago.ac.nz/w/index.php/Necpp
GNU General Public License v2.0
241 stars 65 forks source link

Change occurrences of '=-' to ' = -' in *.c and *.cpp #33

Closed jeffsf closed 7 years ago

jeffsf commented 8 years ago

These vestiges of FORTRAN are not acceptable for clang compiler

find . -name '.c' -o -name '.cpp' -exec sed -i.bak -E -e 's/ ?=-/ = -/g' {} \; find . -name '*.bak' -delete

jeffsf commented 8 years ago

Resolves #30

tmolteno commented 7 years ago

Thanks for this.