fixed an NQC interpolation bug in qdim