Skip to content

Commit dc20084

Browse files
committed
fix bugs
1 parent 9441396 commit dc20084

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

source/source_estate/update_pot.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#include "source_estate/update_pot.h"
2+
#include "source_estate/cal_ux.h"
23

3-
void elecstate::update_pot(const UnitCell& ucell, // unitcell
4+
void elecstate::update_pot(UnitCell& ucell, // unitcell
45
elecstate::ElecState* &pelec, // pointer of electrons
56
const Charge &chr,
67
const bool conv_esolver

source/source_estate/update_pot.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
namespace elecstate
88
{
99

10-
void update_pot(const UnitCell& ucell, // unitcell
10+
void update_pot(UnitCell& ucell, // unitcell
1111
elecstate::ElecState* &pelec, // pointer of electrons
1212
const Charge &chr,
1313
const bool conv_esolver); // charge density

0 commit comments

Comments
 (0)