Changeset 217


Ignore:
Timestamp:
03/01/16 15:46:37 (8 years ago)
Author:
jbrlod
Message:

correcting bug when specifigyer time0 in load_wind

File:
1 edited

Legend:

Unmodified
Added
Removed
  • altifloat/src/floater.h

    r160 r217  
    238238  if (argv > 2) { 
    239239    iter0 = atoi(argc[2]); 
    240     if (argv > 3)  
     240    if (argv > 3) { 
     241      time0 = (int *)malloc(sizeof(int)); 
    241242      *time0 = atoi(argc[3]); 
     243    } 
    242244  } 
    243245  init_wind(fname,iter0,time0); 
Note: See TracChangeset for help on using the changeset viewer.