# | Line 122 | Line 122 | int main(int argc, char *argv []) { | |
---|---|---|
122 | ||
123 | //get lattice type | |
124 | latticeType = UpperCase(args_info.latticetype_arg); | |
125 | < | |
126 | < | |
127 | < | simpleLat = LatticeFactory::getInstance()->createLattice(latticeType); |
128 | < | if (simpleLat == NULL) { |
129 | < | sprintf(painCave.errMsg, "Lattice Factory can not create %s lattice\n", |
130 | < | latticeType.c_str()); |
131 | < | painCave.isFatal = 1; |
132 | < | simError(); |
133 | < | } |
134 | < | |
125 | > | |
126 | //get input file name | |
127 | if (args_info.inputs_num) | |
128 | inputFileName = args_info.inputs[0]; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |