• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revision373ce2ac7bbf2ad9ade0a3e14d8c49743a5013d8 (tree)
Time2012-12-17 14:43:15
AuthorMikiya Fujii <mikiya.fujii@gmai...>
CommiterMikiya Fujii

Log Message

Bug for the timing of setting the molecule is fixed. #30327

git-svn-id: https://svn.sourceforge.jp/svnroot/molds/trunk@1190 1136aad2-a195-0410-b898-f5ea1d11b9d8

Change Summary

Incremental Difference

--- a/src/cndo/Cndo2.cpp
+++ b/src/cndo/Cndo2.cpp
@@ -252,14 +252,11 @@ TheoryType Cndo2::GetTheoryType() const{
252252 }
253253
254254 void Cndo2::SetMolecule(Molecule* molecule){
255- // check of number of valence electrons
255+ this->molecule = molecule;
256256 this->CheckNumberValenceElectrons(*molecule);
257-
258- // check enable atom type
259257 this->CheckEnableAtomType(*molecule);
260258
261- // set molecule and malloc
262- this->molecule = molecule;
259+ // malloc
263260 MallocerFreer::GetInstance()->Malloc<double>(&this->fockMatrix,
264261 this->molecule->GetTotalNumberAOs(),
265262 this->molecule->GetTotalNumberAOs());