• R/O
  • HTTP
  • SSH
  • HTTPS

fermisurfer: Commit

fermisurfer Git


Commit MetaInfo

Revision7b107ff004d0958c4df3de11807bd133b1933aa0 (tree)
Zeit2022-05-24 22:58:42
AutorMitsuaki Kawamura <kawamitsuaki@gmai...>
CommiterMitsuaki Kawamura

Log Message

Bugfix

Ändern Zusammenfassung

Diff

--- a/src/initialize.cpp
+++ b/src/initialize.cpp
@@ -269,10 +269,10 @@ void max_and_min_bz()
269269 *terminal << wxT("\n");
270270 *terminal << wxT(" Band Eig_Min. Eig_Max Mat_Min Mat_Max\n");
271271 for (ib = 0; ib < nb; ib++) {
272- eigmax = eig0[0][0][0][0];
273- eigmin = eig0[0][0][0][0];
274- matmax = mat0[0][0][0][0][0];
275- matmin = mat0[0][0][0][0][0];
272+ eigmax = eig0[ib][0][0][0];
273+ eigmin = eig0[ib][0][0][0];
274+ matmax = mat0[ib][0][0][0][0];
275+ matmin = mat0[ib][0][0][0][0];
276276 for (i0 = 0; i0 < ng0[0]; ++i0) {
277277 for (i1 = 0; i1 < ng0[1]; ++i1) {
278278 for (i2 = 0; i2 < ng0[2]; ++i2) {
Show on old repository browser