Skip to content

Commit aff0259

Browse files
authored
Merge pull request #53 from AenBleidd/vko_fix_typo
Fix possible typos
2 parents 97cdf74 + 992b09e commit aff0259

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/main/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,7 @@ Thank you!\n";
367367
} else if (batch_ligand_names.size() > 1) {
368368
std::cout << "Ligands (batch mode): " << batch_ligand_names.size() << " molecules\n";
369369
}
370-
if (!vm.count("maps") & !autobox) {
370+
if (!vm.count("maps") && !autobox) {
371371
std::cout << "Grid center: X " << center_x << " Y " << center_y << " Z " << center_z << "\n";
372372
std::cout << "Grid size : X " << size_x << " Y " << size_y << " Z " << size_z << "\n";
373373
std::cout << "Grid space : " << grid_spacing << "\n";
@@ -418,7 +418,7 @@ Thank you!\n";
418418
} else {
419419
// Will compute maps only for Vina atom types in the ligand(s)
420420
// In the case users ask for score and local only with the autobox arg, we compute the optimal box size for it/them.
421-
if ((score_only || local_only) & autobox) {
421+
if ((score_only || local_only) && autobox) {
422422
std::vector<double> dim = v.grid_dimensions_from_ligand(buffer_size);
423423
v.compute_vina_maps(dim[0], dim[1], dim[2], dim[3], dim[4], dim[5], grid_spacing, force_even_voxels);
424424
} else {

0 commit comments

Comments
 (0)