Skip to content
Snippets Groups Projects

Fixed save/load, sfg creating, simulation, bug fixes

Merged Jacob Wahlman requested to merge gui-bug-fixes into develop
3 files
+ 9
3
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -204,8 +204,8 @@ private:
if (bits > 64) {
throw py::value_error{"Cannot truncate to more than 64 bits"};
}
this->add_instruction(instruction_type::truncate, no_result_index, 0).bit_mask = static_cast<std::int64_t>(std::int64_t{1}
<< bits);
this->add_instruction(instruction_type::truncate, no_result_index, 0).bit_mask = static_cast<std::int64_t>(
(std::int64_t{1} << bits) - 1);
}
}
Loading