Skip to content

Commit

Permalink
Cleaning projects and added floquet
Browse files Browse the repository at this point in the history
  • Loading branch information
attacc committed Apr 26, 2024
1 parent 91a6e57 commit cefb4d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions src/main/options_maker.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,12 @@ void options_maker(struct options_struct options[], int n_options)
{
int i_opt,i,j;
int max_long_desc=20,non_used_short_opt[200],found;
int max_long_string=150;


for(i_opt=0;i_opt<n_options;i_opt++) {
options[i_opt].long_opt=NULL;
options[i_opt].short_opt=0;
options[i_opt].short_desc=NULL;
/* for(i=0;i<max_long_desc;i++) strcpy(options[i_opt].long_desc[i],"undef"); */
for(i=0;i<max_long_desc;i++) options[i_opt].long_desc[i]=malloc( max_long_string );
for(i=0;i<max_long_desc;i++) strcpy(options[i_opt].long_desc[i],"undef");
options[i_opt].yambo_string="undef";
options[i_opt].bin="all";
options[i_opt].no_bin="none";
Expand Down
4 changes: 2 additions & 2 deletions src/main/tool_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ struct tool_struct tool_init( )
#if defined _YPP_NL || defined _NL
pj="nl";
#endif
#if defined _YPP_DF || defined _DF
pj="df";
#if defined _YPP_FL || defined _FL
pj="fl";
#endif
#if defined _QED
pj="qed";
Expand Down

0 comments on commit cefb4d5

Please sign in to comment.