Skip to content

Commit

Permalink
Updates copyright string to year 2024. Fixes minor compiler warning. …
Browse files Browse the repository at this point in the history
…Updates script for Intel compiler with VS (without testing)
  • Loading branch information
myurkin committed Jun 8, 2024
1 parent a4cc6b9 commit 029237d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/GenerateB.c
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,10 @@ void InitBeam(void)
besAlpha=Deg2Rad(beam_pars[1]);
besKt=WaveNum*sin(besAlpha);
besKz=WaveNum*cos(besAlpha);
/* redundant initialization to remove warnings. Compiler is not sure about constancy of IFROOT due to
* ringid being a global variable
*/
tmp_str="";
switch (beamtype) { // definition of elements of matrix M ((Mex,Mey),(Mmx,Mmy))
case B_BES_CS:
TestRangeII(beam_pars[1],"half-cone angle",0,90);
Expand Down
2 changes: 1 addition & 1 deletion src/iw_compile.bat
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ rem The following is required, since ifort on Windows makes function names in ob
rem Starting from Fortran 2003 it is recommended to use ISO_C_BINDING, but it is not a perfect solution for legacy code
rem For now ADDA requires a single cross-language function call, so we replace the naming in C sources
rem P.S. comments starting with :: do not work inside ()
call set defs=%%defs%% -Dpropaespacelibreintadda_=PROPAESPACELIBREINTADDA
call set defs=%%defs%% -Dpropaespacelibreintadda_=PROPAESPACELIBREINTADDA -Dbjndd_=BJNDD
) else (
call set defs=%%defs%% -DNO_FORTRAN
)
Expand Down
2 changes: 1 addition & 1 deletion src/param.c
Original file line number Diff line number Diff line change
Expand Up @@ -1642,7 +1642,7 @@ PARSE_FUNC(test)
}
PARSE_FUNC(V)
{
char copyright[]="\n\nCopyright (C) 2006-2022 ADDA contributors\n"
char copyright[]="\n\nCopyright (C) 2006-2024 ADDA contributors\n"
"This program is free software; you can redistribute it and/or modify it under the terms of the GNU General "
"Public License as published by the Free Software Foundation; either version 3 of the License, or (at your "
"option) any later version.\n\n"
Expand Down

0 comments on commit 029237d

Please sign in to comment.