Commit 3bf0bc91 authored by sbl1996@126.com's avatar sbl1996@126.com

Add more error info for ms_spec2idx not found

parent 6af7c4b4
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
*.npy *.npy
.vscode/ .vscode/
checkpoints/ checkpoints
runs/ runs
logs/ logs
k8s_job/ k8s_job/
script script
assets/locale/*/*.cdb assets/locale/*/*.cdb
......
...@@ -1763,7 +1763,13 @@ public: ...@@ -1763,7 +1763,13 @@ public:
if (it != ms_spec2idx_.end()) { if (it != ms_spec2idx_.end()) {
return it->second; return it->second;
} }
// TODO: find the root cause
// print ms_spec2idx // print ms_spec2idx
show_deck(0);
show_deck(1);
show_buffer();
show_turn();
fmt::println("MS: idx: {}, mode: {}, min: {}, max: {}, must: {}, specs: {}, combs: {}", ms_idx_, ms_mode_, ms_min_, ms_max_, ms_must_, ms_specs_, ms_combs_);
fmt::print("ms_spec2idx: "); fmt::print("ms_spec2idx: ");
for (const auto &[k, v] : ms_spec2idx_) { for (const auto &[k, v] : ms_spec2idx_) {
fmt::print("({}, {}), ", k, v); fmt::print("({}, {}), ", k, v);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment