weixin_39863759
weixin_39863759
2020-12-27 16:04

Bad allocation

for (int i = 0; i < 1000000; i++) { AbstractState f = AbstractState.factory("HEOS", "Propane"); f.update(input_pairs.QT_INPUTS, 1, 355.37222222222226); } When it reached (i == 374028), I got a "bad allocation" exception.

该提问来源于开源项目:CoolProp/CoolProp

  • 点赞
  • 回答
  • 收藏
  • 复制链接分享

7条回答

为你推荐

换一换