Error: extern "C" unexpected indent

9 views
Skip to first unread message

Kurniasih

unread,
Aug 3, 2020, 12:07:06 AM8/3/20
to OpenMC Users Group
Dear Paul and everyone,
I have tried running custom source with linkage C in jupyter notebook. But, i got this error massage:

File "<ipython-input-11-74ef57ff46ff>", line 6
    extern "C" MC::Particle::Bank sample_source(uint64_t*seed) {
    ^
IndentationError: unexpected indent

how to clear this error?

thanks.
Reply all
Reply to author
Forward
0 new messages